Targeting an application
For each application that uses a PowerShell script to manage accounts, add a target (Manage the system > Resources > Target systems):
The Type is PowerShell Script.
The Address in Bravura Security Fabric uses the following settings:
Script file The name of the PowerShell script file you created earlier . Ensure that the script is located in the <Program Files path>\Bravura Security\Bravura Security Fabric\<instance>\ script\ directory.
Other settings Enter additional data to be passed into the script in KVGroup format; for example:
{server=MYSRV;}
Modules to load Module name; for example
{psremoteregistry;}
Snapins to load The name of PowerShell snap-ins; for example
{Microsoft.Exchange.Management.PowerShell.E2010;}
Note
To load multiple modules or PowerShell snap-ins, select List from the drop-down list box, and use More button to add additional input box(es) for each module or snap-in specified.
There is an option to include all modules or snap-ins in a file if multiple modules or snap-ins need to load. To use a file, select File option from the drop-down list and specify a file name in the field. Ensure the file is located in the <Program Files path>\Bravura Security\Bravura Security Fabric\<instance>\ script\ directory.
UseSystemPolicy When true, the connector is going to use the execution policy that is already set in the system; so if it's set as Signed, the specified script file must be a signed script. When false, the connector is going to try to change the policy into unrestricted when running and then try to recover it after run.
The address is entered in KVGroup format:
{script=agtps-simple.ps1;settings={server=MYSRV;};modules={psremoteregistry;};snapins={Microsoft.Exchange.Management.PowerShell.E2010;};UseSystemPolicy=true;}
The Administrator ID and Password are the login ID and password for the target system administrator you configured in configured earlier . If the target does not require administrative credentials, the Administrator ID and Password can be left blank.
The full list of target system parameters is explained in Target System Options.
Note
You can extend the address wizard by adding address line elements using the addressattrs function. See the sample PowerShell scripts for details. This is useful when creating a scripted target system with a scripted platform definition file.