Guide | How To An Easy Way to Learn PowerShell Commands

  • Thread starter Thread starter ForgottenSeer 95367
  • Start date Start date
The associated guide may contain user-generated or external content.
F

ForgottenSeer 95367

Thread author
Before accessing PowerShell help files, update them by running the following cmdlet in a PoSH console as Administrator:

Code:
Update-Help

NOTE: PowerShell must have internet access in order to update the PoSh help files.


To study a random PowerShell cmdlet, enter any of the following in a PowerShell console:

Code:
Get-Help -Full (Get-Command | Get-Random) | More

Get-Help (Get-Command | Get-Random) -Online

Get-Help -ShowWindow (Get-Command | Get-Random)

Show-Command (Get-Command | Get-Random)
 
Last edited by a moderator:
Study the PowerShell help system by viewing:

Help Get-Help

It is prudent to study the subject matter provided under "RELATED LINKS."

To quickly search for aliases, functions and cmdlets containing key words use the following cmdlet:

Get-Command *insert key_word here*

Examples:

Get-Command *Firewall* Get-Command *Module* Get-Command *Log*