PowerShell Team
Automating the world one-liner at a time…
Latest posts
Updating Help for older versions of PowerShell
UPDATE: We are now publishing updated help for PowerShell 5.1 and higher. See the announcement. PowerShell's Updatable Help system was introduced in PowerShell 3.0. It was designed to assure that you always have the newest help topics on your local computer so that you can read them at the command line. Help was updated with every new release and periodically between releases. For you, the end user, the cmdlet makes it easy to download and install the latest version. However, you may have noticed that the updated help hasn't changed for a long time and does not match the documentation available on docs.microsof...
Release of PowerShell Script Analyzer (PSScriptAnalyzer) 1.18.2
In keeping with the tradition of releasing improvements to more often, we're happy to announce that 1.18.12 is now available! As a dependency of PowerShell Editor Services (a module used by editor extensions like the PowerShell Visual Studio Code extension), this release is motivated by a desire to further stabilize our editor experience. At the moment, the Visual Studio Code PowerShell extension still ships with PSScriptAnalyzer . After fixing some undesirable edge cases between and , we intend to ship an update to the Visual Studio Code extension that will include . The blocking issue that it resolves is qui...
PowerShell ForEach-Object Parallel Feature
PowerShell ForEach-Object Parallel Feature PowerShell 7.0 Preview 3 is now available with a new Experimental feature. This feature is a great new tool for parallelizing work, but like any tool, it has its uses and drawbacks. This article describes this new feature, how it works, when to use it and when not to. What is ForEach-Object -Parallel? is a new parameter set added to the existing PowerShell ForEach cmdlet. Normally, when you use the cmdlet, each object piped to the cmdlet is processed sequentially. But with the new parameter set, you can run all script in parallel for each piped ...
New Telemetry in PowerShell 7 Preview 3
Beginning in PowerShell 7 Preview 3, PowerShell will be sending some additional data points to Microsoft. This data will allow us to better understand usage of PowerShell and enable us to prioritize our future investments. These additional points of data were reviewed with the PowerShell community and approved by the PowerShell Committee through the PowerShell RFC process. What we added We will continue to use Application Insights to collect the following new telemetry points: We will continue to share portions of our aggregated data with the PowerShell community through the Public PowerBi report. Wh...
PowerShell 7 Preview 3
PowerShell 7 Preview 3 In May, we published our PowerShell 7 Roadmap. We have been making progress on our roadmap and are currently on track to have a Generally Available (GA) release by end of this calendar year. Long Term Servicing PowerShell 7 GA will also be our first Long Term Servicing (LTS) release which is a change from our current Modern Lifecycle support for PowerShell Core 6. We will support PowerShell 7 GA for as long as .NET Core 3.1 is supported before you must upgrade to a newer version to continue to be supported by Microsoft. Windows PowerShell compatibility One of the main goals of Power...
Out-GridView Returns
Out-GridView Returns! It's been almost 3 years since PowerShell Core debuted for Linux and Mac, and as we've increased our cmdlet coverage more and more, one cmdlet has always stood out as a top, cross-platform request. Today, we are excited to announce that is debuting on all Core-supported platforms through the GraphicalTools Module. Installation If you want to get right to it: Features Out-GridView is a visualization tool to help you deep dive into objects returned from PowerShell. Piping Get-Process into Out-GridView Quick Search Easily locate data points matching a query. Filters Disp...
DSC Resource Kit Release July 2019
We just released the DSC Resource Kit! This release includes updates to 11 DSC resource modules. In the past 6 weeks, 96 pull requests have been merged and 45 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our latest community call for the DSC Resource Kit was last Wednesday, July 31. A recording of the call is posted on the PowerShell YouTube channel. You can join us for the next...
Introducing PowerShell as .NET Global Tool
PowerShell is very suitable for CI/CD scenarios due to its easy and well understood scripting paradigm, and its cross-platform support makes it great for building and testing cross-platform applications. A .NET Global Tool is a special NuGet package that contains a console application. A application can be developed for various platforms like Windows, various distributions of Linux and macOS, while the same PowerShell scripts can be used for building, testing and deployment across all platforms. Installing PowerShell Global tool If you already have the .NET Core SDK installed, it's easy to install Pow...
DSC Resource Kit Release June 2019
We just released the DSC Resource Kit! This release includes updates to 8 DSC resource modules. In the past 6 weeks, 95 pull requests have been merged and 55 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our latest community call for the DSC Resource Kit was last Wednesday, June 19. A recording of the call with be posted on the PowerShell YouTube channel soon. You can join us for the next ca...