How to use the PowerShell documentation

Welcome to the PowerShell online documentation. This site contains cmdlet reference for the following versions of PowerShell:

Navigating the documentation

The web page contains multiple elements that help you navigate the documentation.

Selecting the version of PowerShell

Use the version selector located above the TOC to select the version of PowerShell you want. By default, the page loads with the most current stable release version selected. The version selector controls which version of the cmdlet reference appears in the TOC under the Reference node. Some cmdlets work differently in different versions of PowerShell you are using. Be sure you are viewing the documentation for the correct version of PowerShell.

The version selector doesn't affect conceptual documentation. The conceptual documents appear above the Reference node in the TOC. The same conceptual articles appear for every version selected. If there are version-specific differences, the documentation makes note of those differences.

You can verify the version of PowerShell you are using by inspecting the $PSversionTable.PSVersion value. The following example shows the output for Windows PowerShell 5.1.

$PSVersionTable.PSVersion 
Major Minor Build Revision ----- ----- ----- -------- 5 1 22621 963 

Finding articles

There are two ways to search for content in Docs.

In the following example, the search in the site-level navigation bar returns 840 results for the word idempotent . Entering the word invoke in the TOC filter box shows a list of articles that contain the word invoke in the title. Entering the word idempotent in the TOC filter shows no articles. Clicking the search link searches for idempotent in the PowerShell documentation. This search only returns 9 results.

Downloading the documentation as a PDF

To download the documentation as a PDF, click the Download PDF button at the bottom of the TOC.

Finding articles for previous versions

Documentation for older versions of PowerShell is archived in our Previous Versions site. You can choose Previous Versions from the version selector.

This site contains documentation for the following topics:

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.