
Getting Started with PowerShell - PowerShell | Microsoft Learn
Feb 6, 2026 · Windows PowerShell is an easy-to-use command-line shell and scripting environment for automating administrative tasks of Windows-based systems. Windows PowerShell is preinstalled on …
Install PowerShell 7 on Windows - PowerShell | Microsoft Learn
Mar 30, 2026 · There are multiple ways to install PowerShell in Windows. Each install method is designed to support different scenarios and workflows. Choose the method that best suits your …
Install PowerShell on Windows, Linux, and macOS - PowerShell
Learn how to install PowerShell on Windows, Linux, and macOS.
Install PowerShell 7 on macOS - PowerShell | Microsoft Learn
Choose an installation method There are several ways to install PowerShell on macOS. If you previously installed PowerShell using Homebrew, see Install on macOS using Homebrew in Alternate ways to …
about_Splatting - PowerShell | Microsoft Learn
Jan 19, 2026 · Describes how to use splatting to pass parameters to commands in PowerShell.
Get-FileHash (Microsoft.PowerShell.Utility) - PowerShell
The Get-FileHash cmdlet computes the hash value for a file by using a specified hash algorithm. A hash value is a unique value that corresponds to the content of the file. Rather than identifying the …
about_Variables - PowerShell | Microsoft Learn
By default, the variables that you create at the PowerShell command line exist only while the PowerShell window is open. When the PowerShell windows is closed, the variables are deleted. To save a …
Use PowerShell Scripts on Windows Devices in Intune
Apr 14, 2026 · Create and run PowerShell scripts, assign the script policy to Microsoft Entra groups, and use reports to monitor the scripts. See the steps to delete scripts you add on Windows devices in …
Set-ExecutionPolicy (Microsoft.PowerShell.Security) - PowerShell
The Set-ExecutionPolicy cmdlet changes PowerShell execution policies for Windows computers. For more information, see about_Execution_Policies. Beginning in PowerShell 6.0 for non-Windows …
about_Regular_Expressions - PowerShell | Microsoft Learn
Sep 29, 2025 · A regular expression is a pattern used to match text. It can be made up of literal characters, operators, and other constructs. PowerShell uses the .NET regex engine. This article …