You are on page 1of 10

PowerShell v.

5
Whats Changing, Whats New, and Some Examples

About me
Senior Consultant, Infrastructure of iVision a
Microsoft Partner Consulting Firm
Favorite projects are ones with complex data-
mining or process flows which can utilize
PowerShell to streamline work that isnt fun
Blogger on PowerShell, Systems Management
and Automation at personal blog FoxDeploy.com
Member of Winning Team for the 2014 Scripting
Games
Featured in The DSC Book by Steve Murawski
and Don Jones
Favorite Beer Ommegang Three Philosophers
Quadruple Ale

Stephen Owen
Senior Consultant
FoxDeploy.Com
Twitter @sred13
StephenOwenii@gmail.com
What is PowerShell?
Microsofts very powerful new Scripting and Automation Framework,
command-line shell, and scripting language

Command Prompt on Steroids with a fluid pipeline system and type converter

Built with replicating the functionality of Linux Bash prompt in mind, but
tailoring it for Windows

Successor to VBScript, which hasnt been updated in almost ten years
Whats Changing?
Microsoft shifting to a cloud release cadence
Continuous Delivery
Things might break

PowerShell Releases
Increased in frequency, Scope
POWERSHELL V1 RELEASE
POWERSHELL V2 WMF 3.0 PREVIEW
POWERSHELL V3
WMF 4.0 PREVIEW
POWERSHELL V4
WMF 5.0 PREVIEW
MAY PREVIEW
SEPTEMBER PREVIEW
TODAY
Cool new Cmdlettes, Slide 1/ 38
Generate Windows PowerShell cmdlets based on an OData endpoint
Manage .ZIP files with new cmdlets
DSC Authoring Improvements in Windows PowerShell ISE
New Attribute for defining DSC meta-configuration
Use partial configurations DSC
Cross-computer synchronization through DSC
Get the current DSC configuration status
Compare, Update, and Publish DSC configurations
Audit Windows PowerShell usage by transcription and logging
Extract and parse structured objects out of string content
Extend the item noun to enable Symbolic Links
Develop with classes in Windows PowerShell
Register a PSRepository with PowerShell Get
Network Switch management through Windows PowerShell (improvements)
In this release we have made Windows PowerShell Desired State Configuration (DSC) more stable
and reliable by addressing bug fixes, performance improvements and general optimizations. These
improvements in combination with our recent release of wave 3 of the DSC resource kit give you
what you need to effectively deploy and manage your features, applications and services on all of
your Windows environments. As developers you should be writing DSC providers for your resources
to enable customers to use DSC or choose any Configuration Management tool that supports the
DSC platform. If you are considering purchasing a Configuration Management tool, make sure that
tool supports DSC or you wont be aligned with the Windows Server strategy.
In addition to the DSC refresh, WMF 5.0 Preview includes 2 new features OneGet and
NetworkSwitch cmdlets. You can download the WMF 5.0 Preview HERE.
OneGet is a new way to discover and install software packages from around the web. With OneGet,
you can:
Manage a list of software repositories in which packages can be searched, acquired, and
installed
Search and filter your repositories to find the packages you need
Seamlessly install and uninstall packages from one or more repositories with a single
PowerShell command

This first version of OneGet installs and searches software from Chocolatey repositories. Support of
additional repositories will come in subsequent versions. Here are some sample commands to get
you started:

Lets Get Coding!
What is Desired State Configuration?
A Whole new way of Configuring Systems
Removes overlap of Registry Hacks, SCCM Package Management, SCCM
Desired Configuration Management, Group Policy
Make It so Configuration
Users can break the system, and it will self-right
Resources
To learn more:
PowerShell in Action, Bruce Payette
Learn PowerShell In a Month of Lunches
PowerShell Microsoft Virtual Academy
Check out my Blog under Resources for more information
and this slidedeck
Contact Me
Stephen Owen
StephenOwenII@gmail.com
@sred13 404-408-8359

You might also like