Primary
PowerShell ○˒|Definition|1st|20251119205401-00-⌔
PowerShell
PowerShell is a shell program developed by Microsoft for task automation and configuration management. As is typical for a shell, it provides a command-line interpreter for interactive use and a script interpreter for automation via a language defined for it. Originally only for Windows, known as Windows PowerShell, it was made open-source and cross-platform on August 18, 2016, with the introduction of PowerShell Core.1 The former is built on the.NET Framework and the latter on.NET (previously.NET Core).
PowerShell is bundled with current versions of Windows and can be installed on macOS and Linux.1 Since Windows 10 build 14971, PowerShell replaced Command Prompt as the default command shell exposed by File Explorer.23
In PowerShell, administrative tasks are generally performed via cmdlets (pronounced command-lets), which are specialized.NET classes implementing a particular operation. These work by accessing data in different data stores, like the file system or Windows Registry, which are made available to PowerShell via providers. Third-party developers can add cmdlets and providers to PowerShell.45 Cmdlets may be used by scripts, which may in turn be packaged into modules. Cmdlets work in tandem with the.NET API.
PowerShell’s support for.NET Remoting, WS-Management, CIM, and SSH enables administrators to perform administrative tasks on both local and remote Windows systems. PowerShell also provides a hosting API with which the PowerShell runtime can be embedded inside other applications. These applications can then use PowerShell functionality to implement certain operations, including those exposed via the graphical interface. This capability has been used by Microsoft Exchange Server 2007 to expose its management functionality as PowerShell cmdlets and providers and implement the graphical management tools as PowerShell hosts which invoke the necessary cmdlets.46 Other Microsoft applications including Microsoft SQL Server 2008 also expose their management interface via PowerShell cmdlets.7
PowerShell includes its own extensive, console-based help (similar to man pages in Unix shells) accessible via the
Get-Helpcmdlet. Updated local help contents can be retrieved from the Internet via theUpdate-Helpcmdlet. Alternatively, help from the web can be acquired on a case-by-case basis via the-onlineswitch toGet-Help.Printed 2026-06-28.
Link to original Footnotes
Bright, Peter (August 18, 2016). “PowerShell is Microsoft’s latest open source release, coming to Linux, OS X”. Ars Technica. Condé Nast. Archived from the original on April 9, 2020. Retrieved May 12, 2020. ↩ ↩2
“Announcing Windows 10 Insider Preview Build 14971 for PC”. November 17, 2016. ↩
“PowerShell is replacing Command Prompt”. ↩
Truher, Jim (December 2007). “Extend Windows PowerShell With Custom Commands”. MSDN Magazine. Microsoft. Archived from the original on October 6, 2008. ↩
Lowe, Scott (January 4, 2007). “Exchange 2007: Get used to the command line”. TechRepublic. CBS Interactive. Archived from the original on November 16, 2018. Retrieved May 12, 2020. ↩
Snover, Jeffrey (November 13, 2007). “SQL Server Support for PowerShell!”. Windows PowerShell Blog (blog posting). Microsoft. Archived from the original on November 15, 2007. Retrieved November 13, 2007. ↩
Secondary
• • •