Overview

Overview - Starting with PowerShell


The ‘Starting with PowerShell’ section is a good starting point for anyone looking to get into PowerShell!

An assortment of guides, references and information that will be beneficial for everyone using PowerShell. The ‘Starting with PowerShell’ section covers:

  1. Cmdlets that will be useful immediately and throughout your PowerShell journey.
  2. Installing PowerShell (The Guide Assumptions page explains what edition of PowerShell this refers to).
  3. Setting up Windows terminal.
  4. And more!

Show-Command

Show-Command


I wish this one of the first cmdlets I ever learnt years ago! This is a cmdlet for all skill levels, you will certainly get value from it! Run Show-Command and see what it can do for you!

Different Uses

  • Basic Uses: This cmdlet allows for finding other cmdlets very easily.
  • Intermediate: You can use it with native cmdlets to construct and run with their parameters.
  • Advanced: Use the Show-Command GUI for your own scripts to allow easy input of values at runtime.

Usage

Show-Command

Notes

  • It is like a combination of Get-Help and Get-Command but within a simple interface.
  • The interface is the same as the ‘Show Command Add-On’ from PowerShell ISE.
  • Show-Command allows for creating an interface for other users (or yourself) to run custom scripts you have made.

See Also

Get-Command

Get-Command

Note: This used to be my go-to cmdlet to find cmdlets but since learning about Show-Command I just use that, much easier.

Used to find commands if you know ANYTHING about it.

Are you looking to find info about a file or process or anything? This likely will be a ‘Get’ cmdlet. Use Get-Command -Verb Get Are you looking to work with files or folders (which PowerShell calls “Items”)? Use Get-Command -Noun *Item*

Get-Help

Get-Help

Use to well… Get help for other parts of PowerShell.

Usage

Get-Help "<Cmdlet-Name>"

Useful Parameters

ParameterDescription
-ExamplesProvides examples of how to use the cmdlet you are seeking help with.

Notes

  • To get the most out this cmdlet you can use the Update-Help cmdlet to download updated help files.
    • As an example, the -example parameter won’t work until Update-Help is run.

See Also

Update-Help

Update-Help

Downloads up-to-date help files for the Get-Help cmdlet to use.

Usage

Update-Help

Notes

  • Update-Help requires administrative privileges in PowerShell 6.0 and below, meaning Windows PowerShell and the very first release of PowerShell.

See Also