PowerShell PRInterface Cmdlets
The following cmdlets are available from the PRInterface module. You can run the get-help command in PowerShell to obtain detailed information on each cmdlet, including the syntax and description:
get-help <cmdletname>
get-help Get-PRVariable
Name | Description |
---|---|
ConvertTo-PRHashTable |
Converts a JSON object created using ConvertFrom-Json into a hash table. |
Get-PRChallengeCode |
Displays the challenge code valid for the currently running application. |
Get-PREnvironmentVariable |
Displays an environment variable valid for the currently running application. |
Get-PRFileHash |
Displays the file hash information for the currently running application. |
Get-PRScriptSettings |
Displays the settings information for the currently running script. |
Get-PRVariable |
Displays a Privilege Management for Windows variable valid for the currently running application. |
Set-PRLogSettings |
Sets the defaults for Power Rules script logging. |
Set-PRRuleProperty |
Sets the Rule Properties to action when the script finishes running. |
Set-PRRunAsProperty |
Sets the Run As Properties to action when the script finishes running. |
Set-PRScriptProperty |
Sets the Script Properties which are recorded in audit events. Runs the application under another user's credentials. |
Show-PRAuthenticationDialog |
Displays an authentication message dialog box. |
Show-PRBusinessJustificationDialog |
Displays a business justification message dialog box. |
Show-PRMessageDialog |
Displays an informational message dialog box. |
Show-PRPasscodeDialog |
Displays a passcode message dialog box. |
Show-PRProgressDialog |
Displays an asynchronous progress dialog box for long running tasks. |
Show-PRVaultedCredentialDialog |
Displays a vaulted credential message dialog box. |
Test-PRAgentVersion |
Tests to see if the Privilege Management Agent meets the minimum version required. |
Test-PRModuleVersion |
Tests to see if the Privilege Management for Windows Power Rules module (PRInterface) meets the minimum version required. |
Test-PRNetworkConnectivity |
Tests to see if a network connection can be established to a specific host name URL. |
Write-PRLog |
Outputs script logging information to a number of sources. |