Parsing Text with PowerShell (3/3)

This is the third and final 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 General… Read more

Parsing Text with PowerShell (2/3)

This is the second 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 The -split operator… Read more

The PowerShell-Docs repositories have been moved

The PowerShell-Docs repositories have been moved from the PowerShell organization to the MicrosoftDocs organization in GitHub. The tools we use to build the documentation are designed to work in the MicrosoftDocs org. Moving the repository lets us build the foundation for future improvements in our documentation experience. Impact of the move During the move there… Read more

Announcing the PowerShell Preview Extension in VSCode

Preview builds of the PowerShell extension are now available in VSCode We are excited to announce the PowerShell Preview extension in the VSCode marketplace! The PowerShell Preview extension allows users on Windows PowerShell 5.1, Powershell 6.0, and all newer versions to get and test the latest updates to the PowerShell extension and comes with some… Read more

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