PowerShell for Windows Admins:

April, 2014


April 11, 2014  2:17 AM

PowerShell Deep Dive and Save the Children

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

I co-edited PowerShell Deep Dives - http://www.manning.com/hicks/ – alongside Jeff Hicks and other PowerShell MVPs.  The book is collection of chapters from  PowerShell experts from around the world. The list...

April 10, 2014  2:16 PM

Requires

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

A comment was left on my last post stating that the requires keyword could be used to test for modules. Requires is a keyword that can be put at the top of scripts and modules. It will prevent the script or module running if the requirement isn’t met.  You can test for a number of items. This...


April 9, 2014  1:33 PM

Testing module existence

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

I had a comment left on an old post stating that Get-ADuser errored stating it wasn’t a cmdlet. This is because the module wasn’t loaded or on PowerShell 3 and above available to be auto-imported. That got me thinking about testing for a modules existence. function test-module...


April 8, 2014  2:41 PM

Getting mailbox data and stats per database

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Way back in the day - http://richardspowershellblog.wordpress.com/2007/12/20/list-mailboxes-by-mailbox-database/ - I showed how to list mailboxes by the database in which they were stored. I had a comment left asking if its possible to list only a specific mailbox and to give the mailbox size as...


April 7, 2014  12:49 PM

Finding the class key

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Time to extend our module for investigating CIM. This time I want to show you how to find the key to the class. You need to know the key property of a CIM class when you perform a number of actions – most particularly when you create an instance of the class. Its just a matter of iterating...


April 4, 2014  12:18 PM

Discovering namespaces part 2

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

I recently showed how to use Get-CimInstance to discover the namespaces present in a particular CIM namespace. I’m going to try to use CIM instaed of WMI but expect the old terminology to creep in occasionally. The function I showed last time will only find the first level of namespaces in a...


April 3, 2014  1:14 PM

Windows Server 2012 R2 Update

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

The Windows Server 2012 R2 Update (and the corresponding Windows 8.1 Update) are available to MSDN/TechNet subscribers. General availability follows on 8 April (patch Tuesday) Details from


April 3, 2014  1:02 PM

Windows Management Framework V5

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

The Windows Server blog has an announcement, and download link, for WMF v5. 0 Comments     RSS Feed     Email a friend


April 2, 2014  11:43 AM

CIM snippets–working with file system

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

The latest instalment from the WMI team on using PowerShell and the CIM cmdlets is available - 0 Comments     RSS Feed     Email a friend


April 1, 2014  8:14 AM

MVP award renewed

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Received an email this afternoon renewing my PowerShell MVP award for another year.  This is a great honour and I’d like to thank you for helping to make this possible by reading my blog posts.


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: