Run as custom PAM providers PowerShell scripts with execution context
The Run as option lets you run custom PAM provider scripts within different contexts and runs the scheduler to do so. This can be done on a local or a remote machine, making it useful to find out what the script is trying to accomplish, whether it is completing certain actions or accessing certain files.
Run As PowerShell script in various contexts
In Devolutions Server, go to Administration – Privileged Access – Providers.
Click on Add.
Click on the Custom tab.
Select a PAM provider then click Continue.
Click on the Run as tab.
In the Credential drop-down list, select either;
Default: Runs the script with the current scheduler configuration.
Custom: Runs the script within a specified Username, Password and Host name.
Click Save to close this window and save the changes.
Check for trusted hosts
If Run as is not pointing to a trusted host, the configuration will not work.
Here is the command line to fetch trusted hosts: Get-Item "WSMan:localhost\Client\TrustedHosts"
Here is the command line to update the local machine's trusted hosts with a certain value: Set-Item 'WSMan:localhost\Client\TrustedHosts' -Value '*' -Force
Last updated
Was this helpful?