PowerShell Team

Automating the world one-liner at a time…

Use DSC to manage WMI namespace security

Almost 6 years ago, I wrote some PowerShell scripts in a multi-part series explaining WMI namespace security and also how to manage them using PowerShell. If you're not familiar with WMI namespace security, I recommend reading the blog posts above or even as a refresher. I received some feedback fairly recently about some issues and this ...

Want to write a DSC resource where only a single instance can be configured?

I've heard from a few DSC resource authors that they need a method to implement a resource that has a single instance; a singleton. The problem they encountered is a DSC resource must define a Key property but singleton resources generally should not have a key because there is only one instance that can be updated. The problem can been...

Azure DSC Extension v2.0 released

NOTE: For information on OS support, and other features, please refer to our release history. Today we are releasing version 2.0 of the Azure DSC Extension, with improvements for DSC configurations that reboot the VM, and fixes for ARM deployments. We are releasing this version as a major version change, instead of a minor revision, because ...

PowerShell ♥ the Blue Team

(Warning: Long blog post ahead! If you’d like to read (or share) this as a whitepaper, you can download it here: “Scripting Security and Protection Advances in Windows 10”). At Microsoft, we invest an enormous amount of time and energy managing world-class cloud services and incredibly large enterprise networks. Security is critical ...