Articles

PowerShell articles, tutorials, and guides from community experts.

Mike F Robbins

MSPSUG Virtual Meeting: Avoiding Version Chaos in a Multi-Version #PowerShell World – Jan 12th

Join the Mississippi PowerShell User Group virtually on Tuesday, January 12th 2016 at 8:30pm Central Time when PowerShell MVP June Blender will present “PowersHELL: Avoiding Version Chaos in a Multi-Version PowerShell World”. Beginning in Windows PowerShell 5.0, you can install multiple versions of the same module on the same computer; even in the same directory. Open source and PowerShellGet have revolutionized the availability of modules and Windows PowerShell 5.0+ will be continuously updated with Windows.

Steve Parankewich
PowerShell for Admins

Get Last Reboot or Computer Up Time With PowerShell

Hey everyone, hope you had a great 2015 and I am back with I hope to be weekly updates for everyone at PowerShell.org. I wrote up a quick article on how to retrieve the last reboot time or the current up time for any local or remote computer. I also include a function that can be used to query remote computers as well. There may be a situation where you want to determine whether you take action depending on the last reboot time, or you may simply want it to be displayed for debugging or logging purposes.

Don Jones
Scripting Games

2016-January Scripting Games Puzzle

Our January 2016 puzzle comes from MVP Adam Bertram. We’re actively interested in receiving Scripting Games puzzles from members of the community - submit yours, along with an official solution, to us at admin@ via email!

Don Jones
Announcements

PowerShell.org's Nonprofit Status

We learned today that The DevOps Collective, Inc., (the company that officially owns and runs PowerShell.org, the PowerShell + DevOps Global Summit, etc.) was accepted by the US Treasury as a 501(c)(3) public charity. That means that the company is quite literally owned by the American public now, and run by its Board of Directors. No human or business entity owns the company and its assets, which is exactly our intent.

Don Jones
PowerShell for Admins

My Favorite DSC Feature Suggestions on UserVoice (upvote!)

Hopefully, you’re aware that Microsoft is moving to UserVoice for accepting feature requests and bugs. DSC in particular has 30-odd suggestions at present, and I thought I’d run through some of my fav’s. Log in and up-vote the ones you like, or add comments to expand the discussion! Add Maintenance Windows Awareness to DSC/LCM. This is one of mine, but it came from several customer suggestions. Change the Pull Server database to SQL Server.

Don Jones
News

Microsoft's Brave New World Needs Version Numbers

In Microsoft’s brave new world of agile, more-frequent software releases, including numerous pre-release cycles… Microsoft needs to rethink the way it communicates versioning. Windows Management Framework (WMF) v5 has, for me, been pretty much the perfect example of what not to do, and the perfect example of Microsoft still shoehorning itself into old nomenclature that no longer fills the bill. I know a bunch of folks on the PowerShell team are probably still trying to figure out what works, too, so this isn’t meant to be a hammer-on-’em post, but WMF5’s lifecycle was, from a versioning perspective, pretty hellish.

Don Jones
Announcements

PowerShell News Roundup (There's Been a Lot of it)

There’ve been so many under-the-radar announcements and news bits about PowerShell, that I thought it’d be worth a quick start-of-the-week, pre-holiday roundup. First off, the big news is that **Windows Management Framework v5 has been released to manufacturing (RTM). **Not that there’s any real “manufacturing” anymore, but this means we’ve hit the milestone where it’s “done.” Now, if Microsoft is smart, whatever WMF ships with Win2016 will be “5.1” or something, so we can all keep track of what’s what.

David Wilson
Events

Recap of the Dec 2015 PowerShell Editor Services Hack Week

Thanks to all those who participated in the PowerShell Editor Services Hack Week last week! Much progress was made on fixing bugs and adding new features to both PowerShell Editor Services and the PowerShell extension for Visual Studio Code. Here’s a quick summary of the contributions that were made during the week: Variable Display Improvements in the Debugger Keith Hill made many great improvements to how we display variable contents in the Visual Studio Code debugger.

Don Jones
DevOps

A Real-World DevOps Implementation – and Food for Thought

Want to see what a real-world, functional, production-grade DevOps environment looks like? Look no further than Amazon Web Services’ Elastic Beanstalk (EBS). EBS is a neat combination of their EC2 IaaS product, S3 storage, and some DevOps magic. From a working perspective, it goes something like this: Developer checks code into Git. A portion of this code is actually a set of EBS directives, outlining changes that need to be made to the base operating environment.