Articles

PowerShell articles, tutorials, and guides from community experts.

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, …

Richard Siddaway

Putting the date in a file name

I often need to create file names that include the date & time the file was created in the name. I"™ve come up with all sorts of ways to do but this I think is the simplest. I want the date in this format: year-month-day-hour-minute-second. In other words a format that is easily sortable. I …

Richard Siddaway

PowerShell excerpt week

The Scripting Guy is running a series of excerpts from the PowerShell books published by Manning. Today is PowerShell in Practice http://blogs.technet.com/b/heyscriptingguy/archive/2013/04/03/excel-spreadsheets.aspx Check out the deals all this week on Manning PowerShell books

Richard Siddaway

MVP renewal 2013

This afternoon I received the email notifying me that my MVP award had been renewed for another year. Thank you to Microsoft ““ I regard the award as a great honour. And thank you to the PowerShell community ““ its a great place to be

Richard Siddaway

Shutting down a remote computer

PowerShell provides the Stop-Computer cmdlet for closing down a remote machine. I find this especially useful in my virtual test environment. I"™ll have several machines running but won"™t necessarily have logged onto them. Using Stop-Computer means that I can shut them down cleanly …

Richard Siddaway

CIM cmdlets

The CIM cmdlets are found in the CIMcmdlets module. Get-Command -Module CimCmdlets produces this list of names. I"™ve added some information on the tasks they perform Get-CimAssociatedInstance is for working with WMI associated classes Get-CimClass is for discovering the properties and methods …

Richard Siddaway

WMI vs CIM

An email debate yesterday regarding the use of the CIM cmdlets (new in PowerShell 3) vs the WMI cmdlets made me realise that other people are probably wondering the same thing, The question is really part of a the semi-philosophical debate about when you should adopt new technology. In the case of …