2017-03-22 06:20:11 +08:00
# ![logo][] PowerShell
2015-07-02 06:06:29 +08:00
2016-08-18 23:55:00 +08:00
Welcome to the PowerShell GitHub Community!
2022-11-22 12:02:09 +08:00
[PowerShell ](https://learn.microsoft.com/powershell/scripting/overview ) is a cross-platform (Windows, Linux, and macOS) automation and configuration tool/framework that works well with your existing tools and is optimized
2017-07-09 06:20:09 +08:00
for dealing with structured data (e.g. JSON, CSV, XML, etc.), REST APIs, and object models.
2023-10-19 11:15:55 +08:00
It includes a command-line shell, an associated scripting language, and a framework for processing cmdlets.
2016-07-28 05:47:03 +08:00
2018-02-03 10:35:59 +08:00
[logo]: https://raw.githubusercontent.com/PowerShell/PowerShell/master/assets/ps_black_64.svg?sanitize=true
2016-03-31 06:13:29 +08:00
2024-05-21 01:24:45 +08:00
## Windows PowerShell vs. PowerShell 7+
2017-07-09 06:20:09 +08:00
2024-05-21 01:24:45 +08:00
Although this repository started as a fork of the Windows PowerShell codebase, changes made in this repository are not ported back to Windows PowerShell 5.1.
This also means that [issues tracked here][issues] are only for PowerShell 7.x and higher.
2023-10-19 11:15:55 +08:00
Windows PowerShell specific issues should be reported with the [Feedback Hub app][feedback-hub], by choosing "Apps > PowerShell" in the category.
2017-07-09 06:20:09 +08:00
2019-11-19 12:22:12 +08:00
[issues]: https://github.com/PowerShell/PowerShell/issues
2021-06-15 01:16:51 +08:00
[feedback-hub]: https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332
2017-07-09 06:20:09 +08:00
2017-03-22 06:20:11 +08:00
## New to PowerShell?
2016-03-31 06:13:29 +08:00
2023-10-19 11:15:55 +08:00
If you are new to PowerShell and want to learn more, we recommend reviewing the [getting started][] documentation.
2016-01-23 03:36:23 +08:00
2023-07-12 07:33:07 +08:00
[getting started]: https://learn.microsoft.com/powershell/scripting/learn/more-powershell-learning
2016-03-31 03:06:57 +08:00
2017-03-22 06:20:11 +08:00
## Get PowerShell
2016-03-31 06:13:29 +08:00
2024-05-21 01:24:45 +08:00
PowerShell is supported on Windows, macOS, and a variety of Linux platforms. For
more information, see [Installing PowerShell ](https://learn.microsoft.com/powershell/scripting/install/installing-powershell ).
2016-07-14 06:59:08 +08:00
2024-01-09 07:59:41 +08:00
## Upgrading PowerShell
For best results when upgrading, you should use the same install method you used when you first
2024-05-21 01:24:45 +08:00
installed PowerShell. The update method is different for each platform and install method.
2024-01-09 07:59:41 +08:00
2017-03-22 06:20:11 +08:00
## Community Dashboard
2017-03-07 09:28:42 +08:00
2023-05-10 07:16:06 +08:00
[Dashboard ](https://aka.ms/PSPublicDashboard ) with visualizations for community contributions and project status using PowerShell, Azure, and PowerBI.
2017-03-07 09:28:42 +08:00
2020-04-24 14:01:47 +08:00
For more information on how and why we built this dashboard, check out this [blog post ](https://devblogs.microsoft.com/powershell/powershell-open-source-community-dashboard/ ).
2017-03-07 09:28:42 +08:00
2021-01-14 08:13:35 +08:00
## Discussions
2023-10-25 07:37:28 +08:00
[GitHub Discussions ](https://docs.github.com/discussions/quickstart ) is a feature to enable free and open discussions within the community
2021-01-14 08:13:35 +08:00
for topics that are not related to code, unlike issues.
2023-10-25 07:37:28 +08:00
This is an experiment we are trying in our repositories, to see if it helps move discussions out of issues so that issues remain actionable by the team or members of the community.
There should be no expectation that PowerShell team members are regular participants in these discussions.
2021-01-14 08:13:35 +08:00
Individual PowerShell team members may choose to participate in discussions, but the expectation is that community members help drive discussions so that team members
can focus on issues.
Create or join a [discussion ](https://github.com/PowerShell/PowerShell/discussions ).
2020-05-27 00:53:49 +08:00
## Chat
2016-08-18 23:44:07 +08:00
Want to chat with other members of the PowerShell community?
2023-10-19 11:15:55 +08:00
There are dozens of topic-specific channels on our community-driven PowerShell Virtual User Group, which you can join on:
2020-06-03 03:28:32 +08:00
2021-06-06 01:08:23 +08:00
* [Gitter ](https://gitter.im/PowerShell/PowerShell )
* [Discord ](https://discord.gg/PowerShell )
* [IRC ](https://web.libera.chat/#powershell ) on Libera.Chat
2020-05-27 00:53:49 +08:00
* [Slack ](https://aka.ms/psslack )
2017-03-22 06:20:11 +08:00
## Building the Repository
2016-07-28 05:47:03 +08:00
2016-08-27 03:08:50 +08:00
| Linux | Windows | macOS |
2016-07-28 05:47:03 +08:00
|--------------------------|----------------------------|------------------------|
2016-08-27 03:08:50 +08:00
| [Instructions][bd-linux] | [Instructions][bd-windows] | [Instructions][bd-macOS] |
2016-07-28 05:47:03 +08:00
2022-11-22 12:02:09 +08:00
If you have any problems building, consult the developer [FAQ][].
2016-07-29 03:45:31 +08:00
2016-10-13 04:34:24 +08:00
### Build status of nightly builds
2023-03-03 05:23:26 +08:00
| Azure CI (Windows) | Azure CI (Linux) | Azure CI (macOS) | CodeFactor Grade |
|:-----------------------------------------|:-----------------------------------------------|:-----------------------------------------------|:-------------------------|
| [![windows-nightly-image][]][windows-nightly-site] | [![linux-nightly-image][]][linux-nightly-site] | [![macOS-nightly-image][]][macos-nightly-site] | [![cf-image][]][cf-site] |
2016-10-13 04:34:24 +08:00
2017-11-07 02:29:49 +08:00
[bd-linux]: https://github.com/PowerShell/PowerShell/tree/master/docs/building/linux.md
[bd-windows]: https://github.com/PowerShell/PowerShell/tree/master/docs/building/windows-core.md
[bd-macOS]: https://github.com/PowerShell/PowerShell/tree/master/docs/building/macos.md
2016-01-22 04:25:48 +08:00
2017-11-07 02:29:49 +08:00
[FAQ]: https://github.com/PowerShell/PowerShell/tree/master/docs/FAQ.md
2016-07-29 03:45:31 +08:00
2020-06-05 00:45:35 +08:00
[windows-nightly-site]: https://powershell.visualstudio.com/PowerShell/_build?definitionId=32
2018-09-18 05:26:27 +08:00
[linux-nightly-site]: https://powershell.visualstudio.com/PowerShell/_build?definitionId=23
[macos-nightly-site]: https://powershell.visualstudio.com/PowerShell/_build?definitionId=24
2018-12-04 02:14:11 +08:00
[windows-nightly-image]: https://powershell.visualstudio.com/PowerShell/_apis/build/status/PowerShell-CI-Windows-daily
2018-09-18 05:26:27 +08:00
[linux-nightly-image]: https://powershell.visualstudio.com/PowerShell/_apis/build/status/PowerShell-CI-linux-daily?branchName=master
[macOS-nightly-image]: https://powershell.visualstudio.com/PowerShell/_apis/build/status/PowerShell-CI-macos-daily?branchName=master
2018-06-05 19:32:06 +08:00
[cf-site]: https://www.codefactor.io/repository/github/powershell/powershell
[cf-image]: https://www.codefactor.io/repository/github/powershell/powershell/badge
2016-07-29 03:45:31 +08:00
2017-03-22 06:20:11 +08:00
## Downloading the Source Code
2016-07-28 05:47:03 +08:00
2023-10-19 11:15:55 +08:00
You can clone the repository:
2016-07-28 05:47:03 +08:00
2016-07-21 08:23:06 +08:00
```sh
2018-11-06 02:39:29 +08:00
git clone https://github.com/PowerShell/PowerShell.git
2016-07-21 08:23:06 +08:00
```
2016-07-28 05:47:03 +08:00
2023-10-19 11:15:55 +08:00
For more information, see [working with the PowerShell repository ](https://github.com/PowerShell/PowerShell/tree/master/docs/git ).
2016-07-28 05:47:03 +08:00
2017-03-22 06:20:11 +08:00
## Developing and Contributing
2016-07-21 02:18:28 +08:00
2023-10-25 07:37:28 +08:00
Please look into the [Contribution Guide][] to know how to develop and contribute.
2022-11-22 12:02:09 +08:00
If you are developing .NET Core C# applications targeting PowerShell Core, [check out our FAQ][] to learn more about the PowerShell SDK NuGet package.
2016-06-23 23:21:07 +08:00
2019-03-12 06:20:36 +08:00
Also, make sure to check out our [PowerShell-RFC repository ](https://github.com/powershell/powershell-rfc ) for request-for-comments (RFC) documents to submit and give comments on proposed and future designs.
2016-10-07 02:26:13 +08:00
2019-01-18 22:49:21 +08:00
[Contribution Guide]: https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md
2017-11-07 02:29:49 +08:00
[check out our FAQ]: https://github.com/PowerShell/PowerShell/tree/master/docs/FAQ.md#where-do-i-get-the-powershell-core-sdk-package
2019-01-18 04:25:07 +08:00
2019-02-20 03:07:46 +08:00
## Support
2019-01-18 04:25:07 +08:00
2022-11-22 12:02:09 +08:00
For support, see the [Support Section][].
2019-01-18 22:49:21 +08:00
2019-01-18 04:25:07 +08:00
[Support Section]: https://github.com/PowerShell/PowerShell/tree/master/.github/SUPPORT.md
2016-06-25 01:47:46 +08:00
2017-03-22 06:20:11 +08:00
## Legal and Licensing
2016-07-30 05:10:26 +08:00
PowerShell is licensed under the [MIT license][].
2017-11-07 02:29:49 +08:00
[MIT license]: https://github.com/PowerShell/PowerShell/tree/master/LICENSE.txt
2016-07-30 05:10:26 +08:00
2017-04-01 03:34:01 +08:00
### Windows Docker Files and Images
2024-05-21 01:24:45 +08:00
License: By requesting and using the Container OS Image for Windows containers, you acknowledge, understand, and consent to the Supplemental License Terms available on [Microsoft Artifact Registry][mcr].
2017-04-01 03:34:01 +08:00
2024-05-21 01:24:45 +08:00
[mcr]: https://mcr.microsoft.com/en-us/product/powershell/tags
2017-04-01 03:34:01 +08:00
2017-05-03 09:27:42 +08:00
### Telemetry
2023-07-18 06:54:17 +08:00
Please visit our [about_Telemetry ](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_telemetry )
2021-11-10 09:30:56 +08:00
topic to read details about telemetry gathered by PowerShell.
2017-05-03 09:27:42 +08:00
2017-03-22 06:20:11 +08:00
## Governance
2016-08-13 04:27:04 +08:00
2024-05-21 01:24:45 +08:00
The governance policy for the PowerShell project is described the [PowerShell Governance][gov] document.
2016-08-13 04:27:04 +08:00
2024-05-21 01:24:45 +08:00
[gov]: https://github.com/PowerShell/PowerShell/blob/master/docs/community/governance.md
2016-08-13 04:27:04 +08:00
2024-06-15 07:44:39 +08:00
## [Code of Conduct](CODE_OF_CONDUCT.md)
2016-06-25 01:47:46 +08:00
2024-06-15 07:44:39 +08:00
Please see our [Code of Conduct ](CODE_OF_CONDUCT.md ) before participating in this project.
2016-06-25 01:47:46 +08:00
2024-06-15 07:44:39 +08:00
## [Security Policy](.github/SECURITY.md)
For any security issues, please see our [Security Policy ](.github/SECURITY.md ).