Go to file
Justin Chung 2d092b1ea6
Bring changes from v7.5.0-preview.5 Release Branch to Master (#24369)
* Merged PR 32689: Fix typo in release-MakeBlobPublic.yml

Fix typo in release-MakeBlobPublic.yml

* Merged PR 32696: Fixed Test Scenario for Compress-PSResource

The test was failing because a relative path was provided to parameter -DestinationPath.
Should update Compress-PSResource to accept relative paths for -DestinationPath.

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix for a failing test scenario.

#### PR Summary
This pull request fixes the test scenario for the `Compress-PSResource` function.
- `Microsoft.PowerShell.PSResourceGet.Tests.ps1`: Updated the path resolution for `$PublishedNupkgs` using `Resolve-Path` and added a missing line break in the test for compressing a module.

* Merged PR 32709: Changelog for v7.5.0-preview.5

Added 7.5.0-preview.5 change log

----
Changelog update for the new preview release.
This pull request updates the changelog for the v7.5.0-preview.5 release, documenting breaking changes, engine updates, new features, and other improvements.
- `ConvertTo-Json`: Treat large Enum values as numbers.
- `Import-Module`: Fix processor architecture validation.
- `Resolve-Path` and `Convert-Path`: Add `-Force` parameter to support wildcard hidden files.
- `PSResourceGet` test: Fix cleanup.
- Various build and packaging improvements, including updates to dependencies and test scenarios.

* added ks2 to release pipeline

* Merged PR 32752: Copy global tools to static site

Rather than an intermediate folder that must be manually copied into the static site.

----
#### AI description  (iteration 1)
#### PR Classification
Code modification to enhance functionality.

#### PR Summary
This pull request updates the release pipeline to copy global tools to a static site.
- Changes in `/.pipelines/templates/release-MakeBlobPublic.yml` to set `prefix` and `destinationPrefix` for blob copying.
- Adjusted destination container name to use `$web` and updated blob naming conventions.

* Merged PR 32759: Switch to single quotes for container name in global tool copy

#### AI description  (iteration 1)
#### PR Classification
Code cleanup

#### PR Summary
This pull request updates the container name string to use single quotes for consistency.
- Changes in `/.pipelines/templates/release-MakeBlobPublic.yml` to switch `$destinationContainerName` from double quotes to single quotes.

* Added condition for make blob public

* moved conditional from global tools to copy

* conditional as a paramter instead of var

* removed dependency

* blob folder name to release Tag

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
Co-authored-by: Justin Chung <t-juchung@microsoft.com>
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Patrick Meinecke <pmeinecke@microsoft.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2024-10-03 21:32:33 +00:00
.config Ensure the official build files CodeQL issues (#24278) 2024-09-12 10:11:55 -07:00
.devcontainer devcontainers: mount workspace in /PowerShell (#23857) 2024-07-31 14:09:03 -07:00
.github Bump actions/checkout from 4.1.7 to 4.2.0 (#24348) 2024-10-03 13:35:16 -07:00
.pipelines Bring changes from v7.5.0-preview.5 Release Branch to Master (#24369) 2024-10-03 21:32:33 +00:00
.vscode vscode: Add editorconfig to recommended extensions (#13537) 2020-09-01 09:48:32 +05:00
.vsts-ci Capture environment better (#24148) 2024-09-05 14:49:23 -07:00
assets Delete assets/AppImageThirdPartyNotices.txt (#24256) 2024-09-06 11:38:18 -07:00
CHANGELOG Bring changes from v7.5.0-preview.5 Release Branch to Master (#24369) 2024-10-03 21:32:33 +00:00
docker Removed old not-used-anymore docker-based tests for PS release packages (#16224) 2021-10-15 10:46:36 -07:00
docs Fix a typo in the build doc (#24172) 2024-08-19 10:30:25 -07:00
src Update Microsoft.PowerShell.PSResourceGet to 1.1.0-preview2 (#24300) 2024-09-23 14:58:24 -07:00
test Bring changes from v7.5.0-preview.5 Release Branch to Master (#24369) 2024-10-03 21:32:33 +00:00
tools Support new backport branch format (#24378) 2024-10-03 13:09:07 -07:00
.editorconfig Change docs.microsoft.com to learn.microsoft.com (#19994) 2023-07-17 15:54:17 -07:00
.gitattributes Use Unix line endings for shell scripts (#15180) 2021-04-12 09:32:18 -07:00
.gitignore add ability to skip windows stage (#24116) 2024-08-08 14:08:39 -07:00
.globalconfig Enable CA1868: Unnecessary call to 'Contains' for sets (#21165) 2024-02-29 22:56:22 +05:00
.mailmap Add Git mailmap for Andy Jordan (#19469) 2023-04-26 11:33:28 -07:00
.markdownlint.json Update CHANGELOG.md for 'v6.0.0-beta.1' release (#3736) 2017-05-08 17:58:12 -07:00
.markdownlintignore Update Code of Conduct and Security Policy (#23811) 2024-06-14 23:44:39 +00:00
.spelling Support Unix-Socket in WebCmdlets (#19343) 2023-07-24 16:44:32 -07:00
ADOPTERS.md Update ADOPTERS.md (#20555) 2023-10-23 15:22:13 -07:00
Analyzers.props Bump StyleCop.Analyzers from 1.2.0-beta.507 to 1.2.0-beta.556 (#20953) 2024-01-16 13:21:43 -08:00
build.psm1 Do not build the exe for Global tool shim project (#24263) 2024-09-10 20:47:23 +00:00
CHANGELOG.md Refactor change logs into one log per release (#11165) 2019-12-02 17:47:08 -08:00
CODE_OF_CONDUCT.md Update Code of Conduct and Security Policy (#23811) 2024-06-14 23:44:39 +00:00
codecov.yml Make OpenCover merge and upload more reliable/usable (#3078) 2017-02-01 15:45:03 -08:00
DotnetRuntimeMetadata.json Move to 9.0.0-preview.6.24327.7 (#24133) 2024-08-13 10:18:39 -07:00
experimental-feature-linux.json Treat large Enum values as numbers in ConvertTo-Json (#20999) 2024-09-19 17:24:20 +00:00
experimental-feature-windows.json Treat large Enum values as numbers in ConvertTo-Json (#20999) 2024-09-19 17:24:20 +00:00
global.json Bump .NET 9 to 9.0.100-rc.1.24452.12 (#24273) 2024-09-12 12:10:07 -07:00
LICENSE.txt Update LICENSE.txt so that it's recognized as MIT (#12729) 2020-05-19 13:13:37 -07:00
nuget.config Update the URLs used in nuget.config files (#24203) 2024-08-23 22:25:23 +00:00
PowerShell.Common.props Add file description to pwsh.exe (#21352) 2024-03-26 21:54:05 +05:00
PowerShell.sln Replace PSVersion source generator with incremental one (#23815) 2024-08-19 21:45:45 -07:00
README.md Update Code of Conduct and Security Policy (#23811) 2024-06-14 23:44:39 +00:00
Settings.StyleCop Fix the word wrapping in formatting to handle escape sequences properly (#17316) 2022-05-16 16:10:55 -07:00
stylecop.json Fix the word wrapping in formatting to handle escape sequences properly (#17316) 2022-05-16 16:10:55 -07:00
ThirdPartyNotices.txt Update to the latest NOTICES file (#24259) 2024-09-09 09:45:10 -07:00

logo PowerShell

Welcome to the PowerShell GitHub Community! PowerShell 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 7+

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 are only for PowerShell 7.x and higher. Windows PowerShell specific issues should be reported with the Feedback Hub app, by choosing "Apps > PowerShell" in the category.

New to PowerShell?

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

Get PowerShell

PowerShell is supported on Windows, macOS, and a variety of Linux platforms. For more information, see Installing PowerShell.

Upgrading PowerShell

For best results when upgrading, you should use the same install method you used when you first installed PowerShell. The update method is different for each platform and install method.

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.

Discussions

GitHub Discussions is a feature to enable free and open discussions within the community for topics that are not related to code, unlike issues.

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. 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.

Chat

Want to chat with other members of the PowerShell community?

There are dozens of topic-specific channels on our community-driven PowerShell Virtual User Group, which you can join on:

Building the Repository

Linux Windows macOS
Instructions Instructions Instructions

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

Build status of nightly builds

Azure CI (Windows) Azure CI (Linux) Azure CI (macOS) CodeFactor Grade
windows-nightly-image linux-nightly-image macOS-nightly-image cf-image

Downloading the Source Code

You can clone the repository:

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

For more information, see working with the PowerShell repository.

Developing and Contributing

Please look into the Contribution Guide to know how to develop and contribute. If you are developing .NET Core C# applications targeting PowerShell Core, 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.

Support

For support, see the Support Section.

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 Microsoft Artifact Registry.

Telemetry

Please visit our about_Telemetry topic to read details about telemetry gathered by PowerShell.

Governance

The governance policy for the PowerShell project is described the PowerShell Governance document.

Code of Conduct

Please see our Code of Conduct before participating in this project.

Security Policy

For any security issues, please see our Security Policy.