powershell-core - System.Management.Automation 6.2.0-preview.1

PowerShell runtime for hosting PowerShell Core

PM> Install-Package System.Management.Automation -Version 6.2.0-preview.1 -Source https://powershell.myget.org/F/powershell-core/api/v3/index.json

Copy to clipboard

> nuget.exe install System.Management.Automation -Version 6.2.0-preview.1 -Source https://powershell.myget.org/F/powershell-core/api/v3/index.json

Copy to clipboard

> dotnet add package System.Management.Automation --version 6.2.0-preview.1 --source https://powershell.myget.org/F/powershell-core/api/v3/index.json

Copy to clipboard
<PackageReference Include="System.Management.Automation" Version="6.2.0-preview.1" />
Copy to clipboard
source https://powershell.myget.org/F/powershell-core/api/v3/index.json

nuget System.Management.Automation  ~> 6.2.0-preview.1
Copy to clipboard

> choco install System.Management.Automation --version 6.2.0-preview.1 --source https://powershell.myget.org/F/powershell-core/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "powershell-core" -SourceLocation "https://powershell.myget.org/F/powershell-core/api/v2"
Install-Module -Name "System.Management.Automation" -RequiredVersion "6.2.0-preview.1" -Repository "powershell-core" -AllowPreRelease
Copy to clipboard

logo PowerShell

Welcome to the PowerShell GitHub Community! PowerShell Core is a cross-platform (Windows, Linux, and macOS) automation and configuration tool/framework that works well with your existing tools and is optimized for dealing with structured data (e.g. JSON, CSV, XML, etc.), REST APIs, and object models. It includes a command-line shell, an associated scripting language and a framework for processing cmdlets.

Windows PowerShell vs PowerShell Core

Although this repository started as a fork of the Windows PowerShell code base, changes made in this repository do not make their way back to Windows PowerShell 5.1 automatically. This also means that issues tracked here are only for PowerShell Core 6. Windows PowerShell specific issues should be opened on UserVoice.

New to PowerShell?

If you are new to PowerShell and would like to learn more, we recommend reviewing the getting started documentation.

Get PowerShell

You can download and install a PowerShell package for any of the following platforms.

Supported Platform Downloads (stable) Downloads (preview) How to Install
Windows (x64) .msi .msi Instructions
Windows (x86) .msi .msi Instructions
Ubuntu 18.04 .deb .deb Instructions
Ubuntu 16.04 .deb .deb Instructions
Ubuntu 14.04 .deb .deb Instructions
Debian 8.7+ .deb .deb Instructions
Debian 9 .deb .deb Instructions
CentOS 7 .rpm .rpm Instructions
Red Hat Enterprise Linux 7 .rpm .rpm Instructions
OpenSUSE 42.2 .rpm .rpm Instructions
Fedora 27, Fedora 28 .rpm .rpm Instructions
macOS 10.12+ .pkg .pkg Instructions
Docker Instructions

You can download and install a PowerShell package for any of the following platforms, which are supported by the community.

Platform Downloads (stable) Downloads (preview) How to Install
Arch Linux Instructions
Kali Linux .deb .deb Instructions
Many Linux distributions Snapcraft Snapcraft

You can also download the PowerShell binary archives for Windows, macOS and Linux.

Platform Downloads (stable) Downloads (preview) How to Install
Windows 32-bit/64-bit 32-bit/64-bit Instructions
macOS 64-bit 64-bit Instructions
Linux 64-bit 64-bit Instructions
Windows (arm) Experimental 32-bit/64-bit 32-bit/64-bit Instructions
Raspbian (Stretch) Experimental .tgz .tgz Instructions

To install a specific version, visit releases.

Community Dashboard

Dashboard with visualizations for community contributions and project status using PowerShell, Azure, and PowerBI.

For more information on how and why we built this dashboard, check out this blog post.

Chat Room

Want to chat with other members of the PowerShell community?

We have a Gitter Room which you can join below.

Join the chat at https://gitter.im/PowerShell/PowerShell

There is also the community driven PowerShell Slack Team which you can sign up for at Slack Sign up.

Add-ons and libraries

Awesome PowerShell is a great curated list of add-ons and resources.

Building the Repository

Linux Windows macOS
Instructions Instructions Instructions

If you have any problems building, please consult the developer FAQ.

Build status of nightly builds

AppVeyor (Windows) Azure CI (Linux) Azure CI (macOS) Code Coverage Status Code Factor Status
av-nightly-image linux-nightly-image macOS-nightly-image cc-image cf-image

Downloading the Source Code

The PowerShell repository has a number of other repositories embedded as submodules.

To make things easy, you can just clone recursively:

git clone --recursive https://github.com/PowerShell/PowerShell.git

If you already cloned but forgot to use --recursive, you can update submodules manually:

git submodule update --init

See working with the PowerShell repository for more information.

Developing and Contributing

Please see the Contribution Guide for how to develop and contribute.

If you have any problems, please consult the known issues, developer FAQ, and GitHub issues. If you do not see your problem captured, please file a new issue and follow the provided template. If you are developing .NET Core C# applications targeting PowerShell Core, please check out our FAQ to learn more about the PowerShell SDK NuGet package.

Also make sure to check out our PowerShell-RFC repository for request-for-comments (RFC) documents to submit and give comments on proposed and future designs.

PowerShell is licensed under the MIT license.

Windows Docker Files and Images

License: By requesting and using the Container OS Image for Windows containers, you acknowledge, understand, and consent to the Supplemental License Terms available on Docker hub:

Telemetry

By default, PowerShell collects the OS description and the version of PowerShell (equivalent to $PSVersionTable.OS and $PSVersionTable.GitCommitId) using Application Insights. To opt-out of sending telemetry, create an environment variable called POWERSHELL_TELEMETRY_OPTOUT set to a value of 1 before starting PowerShell from the installed location. The telemetry we collect fall under the Microsoft Privacy Statement.

Governance

Governance policy for PowerShell project is described here.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

  • .NETCoreApp 2.1
    • Microsoft.Management.Infrastructure (>= 1.0.0)
    • Microsoft.PowerShell.CoreCLR.Eventing (>= 6.2.0-preview.1)
    • Microsoft.PowerShell.Native (>= 6.2.0-preview.1)
    • Microsoft.Win32.Registry.AccessControl (>= 4.5.0)
    • Newtonsoft.Json (>= 11.0.2)
    • System.Configuration.ConfigurationManager (>= 4.5.0)
    • System.DirectoryServices (>= 4.5.0)
    • System.IO.FileSystem.AccessControl (>= 4.5.0)
    • System.Management (>= 4.5.0)
    • System.Security.AccessControl (>= 4.5.0)
    • System.Security.Cryptography.Pkcs (>= 4.5.1)
    • System.Security.Permissions (>= 4.5.0)
    • System.Text.Encoding.CodePages (>= 4.5.0)

Signature validation information

Informational

Signature Hash Algorithm: SHA256

Signature type: Author

Verifying the author primary signature with certificate: 
  Subject Name: CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
  SHA1 hash: F404000FB11E61F446529981C7059A76C061631E
  SHA256 hash: 3F9001EA83C560D712C24CF213C3D312CB3BFF51EE89435D3430BD06B5D0EECE
  Issued by: CN=DigiCert SHA2 Assured ID Code Signing CA, OU=www.digicert.com, O=DigiCert Inc, C=US
  Valid from: 2/26/2018 12:00:00 AM to 1/27/2021 12:00:00 PM

Timestamp: 10/17/2018 11:56:10 PM

Verifying author primary signature's timestamp with timestamping service certificate: 
  Subject Name: CN=Symantec SHA256 TimeStamping Signer - G3, OU=Symantec Trust Network, O=Symantec Corporation, C=US
  SHA1 hash: A9A4121063D71D48E8529A4681DE803E3E7954B0
  SHA256 hash: C474CE76007D02394E0DA5E4DE7C14C680F9E282013CFEF653EF5DB71FDF61F8
  Issued by: CN=Symantec SHA256 TimeStamping CA, OU=Symantec Trust Network, O=Symantec Corporation, C=US
  Valid from: 12/23/2017 12:00:00 AM to 3/22/2029 11:59:59 PM

Owners

Aditya Patwardhan mirichmo daxian-dbw

Authors

Microsoft

Project URL

https://github.com/PowerShell/PowerShell

License

MIT

Tags

PowerShell

Signature

Validation: Valid

Info

535 total downloads
0 downloads for version 6.2.0-preview.1
Download (31.24 MB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
6.2.0-preview.1 31.24 MB Thu, 18 Oct 2018 10:18:14 GMT 0
6.1.0 31.16 MB Fri, 14 Sep 2018 10:06:36 GMT 6
6.1.0-rc.1 31.16 MB Thu, 23 Aug 2018 10:08:25 GMT 1
6.1.0-preview.4 31.14 MB Wed, 01 Aug 2018 23:12:36 GMT 19
6.1.0-preview.3 31.02 MB Wed, 13 Jun 2018 22:16:15 GMT 5
6.1.0-preview.2 31.01 MB Fri, 27 Apr 2018 23:48:07 GMT 8
6.1.0-preview.1 31.02 MB Sat, 24 Mar 2018 00:10:12 GMT 7
6.0.4 30.99 MB Wed, 15 Aug 2018 10:06:17 GMT 15
6.0.3 30.97 MB Fri, 20 Jul 2018 00:59:50 GMT 12
6.0.2 30.97 MB Thu, 15 Mar 2018 18:03:49 GMT 51
6.0.1.1 30.97 MB Tue, 27 Feb 2018 01:02:50 GMT 10
6.0.1 3.01 MB Thu, 25 Jan 2018 18:44:08 GMT 43
6.0.0 3.01 MB Tue, 09 Jan 2018 23:52:43 GMT 32
6.0.0-rc.2 3.01 MB Thu, 14 Dec 2017 00:30:29 GMT 14
6.0.0-rc 3.01 MB Thu, 16 Nov 2017 23:38:51 GMT 12
6.0.0-beta.9 3 MB Wed, 25 Oct 2017 00:58:58 GMT 15
6.0.0-beta.8 3.01 MB Thu, 05 Oct 2017 22:00:59 GMT 7
6.0.0-beta.7 2.96 MB Wed, 13 Sep 2017 17:23:57 GMT 8
6.0.0-beta.6 2.96 MB Thu, 24 Aug 2017 17:29:35 GMT 3
6.0.0-beta.5 2.96 MB Thu, 03 Aug 2017 00:43:57 GMT 15
6.0.0-beta.4 2.97 MB Wed, 12 Jul 2017 19:35:04 GMT 1
6.0.0-beta.3 2.96 MB Wed, 21 Jun 2017 21:26:00 GMT 6
6.0.0-beta.2 2.96 MB Fri, 02 Jun 2017 19:27:24 GMT 5
6.0.0-beta.1 2.97 MB Wed, 10 May 2017 23:44:34 GMT 8
6.0.0-alpha18 2.97 MB Fri, 07 Apr 2017 22:45:34 GMT 24
6.0.0-alpha17 5.95 MB Sat, 11 Mar 2017 17:46:50 GMT 47
6.0.0-alpha16 5.92 MB Fri, 17 Feb 2017 20:54:31 GMT 17
6.0.0-alpha15 5.94 MB Thu, 26 Jan 2017 00:10:14 GMT 27
6.0.0-alpha14 5.92 MB Thu, 15 Dec 2016 17:59:13 GMT 42
6.0.0-alpha13 5.92 MB Wed, 23 Nov 2016 00:11:53 GMT 19
1.0.0-alpha9 6.01 MB Wed, 17 Aug 2016 22:53:34 GMT 21
1.0.0-alpha12 6.01 MB Thu, 03 Nov 2016 17:12:58 GMT 16
1.0.0-alpha11 6.01 MB Tue, 18 Oct 2016 16:45:10 GMT 8
1.0.0-alpha10 6.01 MB Fri, 16 Sep 2016 01:36:40 GMT 11