Parsing Text with PowerShell (1/3)

This is the first post in a three part series. Part 1: Useful methods on the String class Introduction to Regular Expressions The Select-String cmdlet Part 2: The -split operator The -match operator The switch statement The Regex class Part 3: A real world, complete and slightly bigger, example of a switch-based parser A task… Read more

Windows Security change affecting PowerShell

Windows Security change affecting PowerShell January 9, 2019 The recent (1/8/2019) Windows security patch CVE-2019-0543, has introduced a breaking change for a PowerShell remoting scenario. It is a narrowly scoped scenario that should have low impact for most users. The breaking change only affects local loopback remoting, which is a PowerShell remote connection made back… Read more

DSC Resource Kit Release January 2019

We just released the DSC Resource Kit! This release includes updates to 14 DSC resource modules. In the past 6 weeks, 41 pull requests have been merged and 54 issues have been closed, all thanks to our amazing community! The modules updated in this release are: ActiveDirectoryCSDsc AuditPolicyDsc CertificateDsc ComputerManagementDsc NetworkingDsc SecurityPolicyDsc SqlServerDsc StorageDsc xActiveDirectory… Read more

UPDATE: The PowerShell-Docs repo is moving … soon

The move has been postponed. We ran into a technical issue. We hope to try again next week. I will update this post when we finalized the schedule. On January 16, 2019 at 5:00PM PDT, the PowerShell-Docs repositories are moving from the PowerShell organization to the MicrosoftDocs organization in GitHub. The tools we use to… Read more

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: AuditPolicyDsc DFSDsc NetworkingDsc SecurityPolicyDsc SharePointDsc StorageDsc xBitlocker xExchange xHyper-V… Read more

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… Read more

Announcing General Availability of the Windows Compatibility Module 1.0.0

The Windows Compatibility module (WindowsCompatibility) 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… Read more

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: ComputerManagementDsc SharePointDsc StorageDsc SqlServerDsc xActiveDirectory xExchange xFailOverCluster xHyper-V xWebAdministration… Read more

Announcing PowerShell Core 6.1

We’re proud to announce that the latest version of PowerShell has been released! This marks our second supported release of PowerShell Core, the open-source edition of PowerShell that works on Linux, macOS, and Windows! By far, the biggest feature of this release is compatibility of built-in Windows modules with PowerShell Core. This means that you can… Read more

Desired State Configuration (DSC) Planning Update – September 2018

2018 has been the most active year ever for the DSC community. The DSC team is taking on major new areas of work in Azure, and we 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… Read more