Articles

PowerShell articles, tutorials, and guides from community experts.

Don Jones
Announcements

[UPDATED] Time is running out to own a piece of PowerShell.org

Believe it or not, we are coming up on our one year anniversary, and will be winding down our capital campaign. If you’d like to become a stockholder in PowerShell.org, you will have until June 1st May 15 to do so. Read the details at https://powershell.org/discuss/viewtopic.php?f=26&t=239 if you’re interested! Updated to show May 15 as the cutoff date. Our shareholder meeting notices and ballots will go out on May 16, so we can’t accept new stock purchases after that date.

Richard Siddaway

Running workflows

I tripped over an interesting issue recently regarding the running of PowerShell workflows. Consider the world"™s simplest workflow workflow test-w1 {“hello world”} If I run this on a 32bit Windows 8 PowerShell machine ““ it works If I run this on Windows 2012 (64bit) on PowerShell it works if I run this on Windows 2012 PowerShell (x86) ““ it doesn"™t work! Be aware of how you are running your workflows

John Mello

PhillyPoSH 04/04/2013 meeting summary

Jason Helmick remotely gave a demo of Sapien"™s Powershell Studio Ed Wilson, The Scripting Guy, gave a presentation on the different ways to remotely manage a Windows 8 workstation (remotely via the Charlotte PowerShell User Group) Announcements The Scripting games start on 04/25/2013, make sure to sign up! We plan on doing a post mortem once the games are done just like we did with the Winter Scripting Camp Check out the Mississippi PowerShell User, which meets virtually every 2nd Tuesday.

Don Jones
Scripting Games

2013 Scripting Games Judges

As described in the 2013 Scripting Games Competitors’ Guide, our expert judges this year will not be awarded numeric scores. Frankly, folks seem more interested in having their entries peer-reviewed than just getting a number - and why not? Expert review is a great way to learn! Unfortunately, there aren’t enough judges in the world to review all the entries we’ll receive, so our judges will be picking their own “best and worst” lists, and commenting on those (taking care to not reveal authors’ names, as much as possible).

Don Jones
Scripting Games

2013 Scripting Games' Mighty Panel of Celebrity Judges

As revealed in the 2013 Scripting Games Competitors’ Guide, the 2013 Games will invite the community in general to award numeric votes for entries. Our expert judges will instead focus on commentary, helping make the Games into an even better learning experience. They’ll be commenting without revealing competitors’ names, and even if you don’t recognize your entry in their comments, you’ll hopefully find plenty to learn from. Our top prizes, however, will be awarded by a Mighty Panel of Celebrity Judges.

Don Jones
PowerShell for Admins

Coming: Tips for the Scripting Games

In preparation for the upcoming Scripting Games, the April 2013 issue of the free PowerShell.org TechLetter will feature tips, examples, and advice for helping you do the best in the Games! Remember that the Competitor Guide is now available, so you can start reviewing how the Games will be graded (by the community) and judged this year. If you’re not already receiving the TechLetter, [subscribe by April 15th][3] to receive the April issue in your Inbox!

Keith Hill

PowerShell Script that Relaunches as Admin

If were following good security practices we run our Windows system with UAC enabled. This means that if you forget to launch your PowerShell prompt as Administrator when you run a script that requires administrative privilege then that script will fail. It would be nice to build a mechanism into our script to “auto-elevate” if UAC is enabled. The trick to doing this is to run Start-Process ““verb runas. After that you only need to figure out if the current user is an administrator and if UAC is enabled.

Richard Siddaway

Manning Deal of the Day "“ April 6 2013

My PowerShell and WMI book will be Manning"™s deal of the day for 6 April 2013. The deal will go live at Midnight US ET and will stay active for about 48 hours. This is your chance to get the book with a 50% discount. Use code dotd0406au at manning.com/siddaway2/ The Deal of the Day offer also applies to SharePoint Workflow in Action ****(http://www.manning.com/wicklund/). Enjoy

Don Jones
Scripting Games

2013 Scripting Games Schedule

Registration for the 2013 Scripting Games will begin April 22nd (check this post in case we need to make a change to that). You will register for either the Beginner or Advanced track. Get the Beginner Track Practice Event Get the Advanced Track Practice Event Each event will kick off on a Thursday, which is when you will be able to download the event details in a PDF file. You will have until the end of the following Monday to upload your one and only entry.