PowerShell Team

Automating the world one-liner at a time…

Latest posts

Nov 19, 2014
Post comments count 0
Post likes count 0

PowerShell Break All Command

PowerShell Team

The PowerShell team has added some new script debugging features for version 5.0.  I’ll be talking about these new features in a series of blogs starting with the new PowerShell Break All command.  PowerShell 5.0 has been released as a preview over the last few months.  While PowerShell is in preview new features are continually evolving so if you want to try them out you should ensure you have the latest preview version.  The script debugging features I’ll be discussing require the latest preview release which at this writing is the November 2014 release.  You can down load P...

Nov 19, 2014
Post comments count 0
Post likes count 0

Introducing: PowerShell Gallery

PowerShell Team

PowerShellGet is an exciting new feature releasing in WMF 5.0 Preview.  With it, you can easily discover, install, update, and publish PowerShell modules to and from online repositories – simplifying the process of sharing PowerShell content. While we’ve talked about how to set up your own repository in the past, we haven’t said much about PowerShellGet’s default Gallery.  When you run Find-Module, you may have noticed that it automatically searches a “PSGallery” repository.  You may have wondered, “what exactly is this PSGallery repository?" Today, we are ...

Nov 19, 2014
Post comments count 0
Post likes count 0

Documenting DSC Part 2

PowerShell Team

In a previous post, we introduced the team of writers working on documenting DSC. (You can always contact them at DSCIX@microsoft.com.) We’ve started out by bringing the existing documentation up to date (the topics for all of the built-in resources have been brought current, for example) and transferring all or parts of most of the posts in this blog concerning DSC into the Technical Library. For your reference, here’s a table that relates the DSC blog posts to the corresponding Technical Library articles:  

Nov 18, 2014
Post comments count 0
Post likes count 0

Windows Management Framework 5.0 Preview November 2014 is now available

PowerShell Team

We’re excited to announce Windows Management Framework 5.0 Preview November 2014, a new package publicizing new and exciting management technologies, is now available for download on Download Center! This Windows Management Framework (WMF) preview includes everything from WMF 5.0 Preview September 2014 plus some new improvements.You’ll find improvements in: You can read more about these new improvements and all the other content within WMF 5.0 Preview November 2014 in the release notes (included in the download center link with the packages).  This package installs exclusively on Windows 8...

Nov 18, 2014
Post comments count 0
Post likes count 0

PowerShell DSC Resource Design and Testing Checklist

PowerShell Team

DSC Resource Design and Testing Checklist   Writing Desired State Configuration Resources is not trivial and there’s many things which can go wrong. You should always spend significant amount of time testing resources you create. This task, although critical for quality, is often overlooked or performed carelessly and insufficiently. Below you can find DSC Resource Design and Testing Checklist which will help you design the resource and identify critical areas for testing. Follow it the next time you want to verify quality of your resource and check whether it adheres to DSC best practices. &#...

Nov 13, 2014
Post comments count 0
Post likes count 0

Documenting DSC

PowerShell Team

We have a new team of content developers focusing on documenting Desired State Configuration (DSC). Led by our manager Steve Kaczmarek, the team comprises Jaime Ondrusek, Corey Plett, and Eric Slesar. A little background:   Steve – I joined Microsoft in 2003 and manage the Management and Automation content development team. In addition to DSC we support management technologies like Group Policy, WSUS and WMI, as well as Core Windows PowerShell, Automation and Orchestration, and the Windows Azure Pack.  Jaime – I’m 14-year veteran of Microsoft. At one time I was a tester in Exchange, bu...

Oct 31, 2014
Post comments count 1
Post likes count 0

ConvertFrom-String: Example-based text parsing

PowerShell Team

    Intro   I’m sure most of you are familiar with the powerful tools for text parsing available in PowerShell. A presentation at the PowerShell Summit a couple of weeks ago provides a good overview of these and mentions a new Powershell cmdlet, ConvertFrom-String, that was introduced in Windows Management Framework 5.0 Preview September 2014. ConvertFrom-String lets you parse a file by providing a template that contains examples of the desired output data rather than by writing a (potentially complex) script.   A Simple Example   The namesAndCities.input.txt attached to this po...

Oct 28, 2014
Post comments count 0
Post likes count 0

Powershell DSC ResKit Wave 8: Now with 100+ Resources!

PowerShell Team

The DSC Resource Kit Wave 8 has landed! You can find it right here. This wave contains an astounding 48 resources, our largest release ever! We just went from 90 resources released via the Resource Kit to 138, a whopping 53% boost! We didn’t just creep across the 100 resources line, we blew right past it! Special thanks to everyone who has contributed, downloaded, or looked at this blog post. We can’t wait to share even more resources with you in the future! Questions, Comments? If you're looking into using PowerShell DSC, but are blocked by a lack of resources, let us know in the comments or the Tech...

Oct 28, 2014
Post comments count 0
Post likes count 0

Manage the PowerShell DSC Extension in the Azure Preview Portal

PowerShell Team

UPDATE 11/21/2014: For information on OS support, and other features, please refer to our release history. If you haven’t yet started using the Azure Preview Portal and are a fan of PowerShell DSC and the Azure PowerShell DSC Extension (announced in August here), now just might be the time to start. We are pleased to announce that you can now manage the extension using the Preview Portal! Before today, you could use the Preview Portal to get information about the PowerShell DSC Extension (version, status, and status text – example below), but you couldn’t add the extension to an existing virtual machine or up...