Skip to main content

PowerShell: Options

The Options page provides the option to execute the script remotely on the target host.

PowerShell Data Collector Wizard Options page

The configurable options are:

  • Execute remotely – Remotely executes the script on the target host. If you don't select this checkbox, the script runs from the Enterprise Auditor Console server.
  • Use impersonation within server executable – Executes the script with the job credentials

For cmdlets requiring explicit credentials, a single credential set from the job's Connection Profile can be referenced using Get-Credential or the $JobCredential variable, a PSCredential type object. You can access all credentials from the job's Connection Profile via the $JobCredentials array.