PowerShell Team
Automating the world one-liner at a time…
Latest posts
DSC Resource Kit Release November 2018
We just released the DSC Resource Kit! This release includes updates to 9 DSC resource modules. In the past 6 weeks, 61 pull requests have been merged and 67 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 supposed to be today, November 28, but the public link to the call expired, so the call was cancelled. I will update the link for n...
PowerShell Constrained Language mode and the Dot-Source Operator
PowerShell Constrained Language mode and the Dot-Source Operator PowerShell works with application control systems, such as AppLocker and Windows Defender Application Control (WDAC), by automatically running in ConstrainedLanguage mode. ConstrainedLanguage mode restricts some exploitable aspects of PowerShell while still giving you a rich shell to run commands and scripts in. This is different from usual application white listing rules, where an application is either allowed to run or not. But there are times when the full power of PowerShell is needed, so we allow script files to run in FullLanguage mode ...
Announcing General Availability of the Windows Compatibility Module 1.0.0
Announcing General Availability of the Windows Compatibility Module 1.0.0 The Windows Compatibility module () is a PowerShell module that lets PowerShell Core 6 scripts access Windows PowerShell modules that are not yet natively available on PowerShell Core. (Note: the list of unavailable commands is getting smaller with each new release of PowerShell Core. This module is just for things aren’t natively supported yet.) You can install the module from the PowerShell Gallery using the command and the source code is available on GitHub. (This is where you should open issues or make suggestions.) Once y...
DSC Resource Kit Release October 2018
We just released the DSC Resource Kit! This release includes updates to 9 DSC resource modules. In the past 6 weeks, 126 pull requests have been merged and 79 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. xPSDesiredStateConfiguration is also in the pipeline for a release, but the xArchive resource is failing its tests, so that module is currently on hold and will be released when all the...
Announcing PowerShell Core 6.1
We're proud to announce that the latest version of PowerShell has been released! This marks our second <a href="https://aka.ms/pslifecycle" rel="nofollow">supported</a> release of <a href="https://github.com/powershell/powershell">PowerShell Core</a>, the open-source edition of PowerShell that works on Linux, macOS, and Windows!
Desired State Configuration (DSC) Planning Update – September 2018
2018 has been the most active year ever for the DSC community. We are taking on major new areas of work in Azure, and have made significant progress in development of the new DSC platform. In this Planning Update for DSC, I want to cover these topics in detail and share major changes to the timing of our Open Source plans for the DSC platform.
New Look and Features for PowerShell Gallery
The PowerShell Gallery and PowerShellGet have just been updated to provide new features, performance improvements, and a new modern design. NOTE: This post has important information for publishers in the “Accounts and publishing” section.
DSC Resource Kit Release September 2018
We just released the DSC Resource Kit! This release includes updates to 11 DSC resource modules. In the past 6 weeks, 146 pull requests have been merged and 105 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 last community call for the DSC Resource Kit was on August 29. A recording of our updates will be available on YouTube soon. Join us for the next call at 12PM (Pacific tim...
PowerShell Module Function Export in Constrained Language
PowerShell Module Exporting Functions in Constrained Language PowerShell offers a number of ways to expose functions in a script module. But some options have serious performance or security drawbacks. In this blog I describe these issues and provide simple guidance for creating performant and secure script modules. Look for a module soon in PSGallery that helps you update your modules to be compliant with this guidance. When PowerShell is running in Constrained Language mode it adds some restrictions in how module functions can be exported. Normally, when PowerShell is not running in Constrained Language, all ...