Assigning the PowerShell script to a policy

The PowerShell script must be assigned to a policy. This makes it easier to then share your Adaptable Application settings and script across many applications without having to specify the same settings many times, which is a key benefit of policies.

NOTE  The PowerShell script setting on the policy is always locked.

After you have selected your PowerShell script from the Adaptable Application's policy settings page, then the name of your script appears on the application object as a read-only field. If you need to select a different PowerShell script, do so from the policy. See Selecting an alternate PowerShell script on a policy.

BEST PRACTICE  You should assign your PowerShell script to policies that are as low down in the Policy tree as possible to allow you to make use of multiple Adaptable Application solutions and also to avoid inheritance issues with extra fields that are likely to occur if your PowerShell scripts are ever changed. If you set it at the top of the tree, then you are essentially committing to use only one Adaptable Application solution in your environment.

For more information and best practices related to working with policies, see How policies work.

To assign the PowerShell script to a policy

  1. From the TLS Protect menu bar, click Policy Tree.
  2. In the Policy tree, click the policy object where you want to specify the PowerShell script.
  3. On the policy page, click the Applications tab, and then click Adaptable.
  4. Under Adaptable Settings, click the PowerShell Script drop-down list and select the script you want to use.
  5. (Optional) If you want to set the General, Application Information, and Validation settings at the policy level, do so now.

    For details about these settings, see Configuring an Adaptable Application object.

  6. Click Save.

    TIP  When you click Save, the policy is locked automatically.

What's Next?

Now that you have set the PowerShell script on the policy, you can create (or modify an existing) Adaptable Application application object.

For more information, see Configuring an Adaptable Application object.

Related Topics Link IconRelated Topics