Security Controls

How to View Detailed Help Information About the PowerShell Commands

There are a number of ways you can find help information for the available PowerShell commands. Simply launch a PowerShell console, import the STProtect module and then type any of the following commands. Full localized help documentation is included as part of the Security Controls installation.

View the complete list of available commands

PS C:\> (Get-Module –Name STProtect).ExportedCommands

View detailed help for an individual command

PS C:\> Get-Help Add-STCredential -detailed

View complete help for all commands

PS C:\> (Get-Module STProtect).ExportedCommands.Values | ForEach-Object { $_ | Get-Help –Full}

To pipe the output to a text file:

PS C:\> (Get-Module STProtect).ExportedCommands.Values | ForEach-Object { $_ | Get-Help –Full} | Out-File “C:\SampleDirectory\HelpOutputFull.txt”


Was this article useful?