PowerShell
PowerShell 7 is a cross-platform (Windows, Linux, and macOS) automation and configuration tool/framework. It works well with your existing tools and is optimized for dealing with structured data (for example, JSON, CSV, and XML), REST APIs, and object models. It includes a command-line shell, an associated scripting language, and a framework for processing cmdlets.
If you are new to PowerShell and want to learn more, see the getting started documentation.
Latest
latest
: The latest stable image.- Ubuntu for Linux and Windows Server Core for Windows
docker pull mcr.microsoft.com/powershell
ordocker pull mcr.microsoft.com/powershell:latest
Preview
preview
: The latest preview image.- Ubuntu for Linux and Windows Server Core for Windows
docker pull mcr.microsoft.com/powershell:preview
You must also have Docker installed locally. Docker provides packages that easily configure Docker on any Mac, Windows, or Linux system.
See our Docker examples.
For our support policy, see PowerShell Core Support Lifecycle
Microsoft containers are licensed under various licenses depending upon the container’s content. If the container has a Debian, Ubuntu or Alpine Linux base image and you want to retrieve the licenses, copyright notices or source code information for the base image and its official packages, please review the Linux Legal Metadata instructions file. If you are using a Windows based container the governing licenses are referenced in this Docker Hub “License” section or in the container itself, usually as a NOTICE or LICENSE file. All other components (whether open or closed source) are licensed as indicated either in this Docker Hub “License” section or in the container itself. This container may incorporate material from third parties. Microsoft makes certain open source code available at https://3rdpartysource.microsoft.com, or if you want a copy of the source code in this container you may send a check or money order for US $5.00, including the product name, the open source component name, and version number, to: Source Code Compliance Team, Microsoft Corporation, One Microsoft Way, Redmond, WA 98052 USA For more information visit the MCR GitHub for Licensing.