in

Microsoft Experts

Memoirs of a goldfish

Cameron McFie

Smile! It is guaranteed to make your day come alive!

MPS Queries using Powershell

Lately I have been getting right into Powershell scripting and I have been trying to build an auditing utility which HMC 4.5 Cross Data Store (CrossDS) was supposed to provide. In building this auditing tool, I have built some basic Powershell scripts on the way that may help others understand how to develop for MPS.

A basic script I have uploaded is called GetUserPlan.ps1. I have placed it in the downloads section (http://www.msexperts.org/files/folders/powershell/entry88.aspx ). Note : I have renamed it to .txt extension just in case your proxy server filters .ps1 extensions.

This script should give you an idea on how to make MPS calls from within Powershell.

I will upload a few more scripts in the next few weeks.

Published Feb 10 2009, 01:30 AM by Cam

Comments

 

Vladm said:

Great script Cameron... very nicely done. :-)

Regards,

Vlad

(@Implement)

April 10, 2009 9:32 AM

About Cam

Cameron is a highly experienced Microsoft specialist who has been working in IT for over 15 years. Currently he owns and operates a Hosting company named Emantra in Brisbane, Australia.

His expertise is particularly in Microsoft Exchange server and general hosting. He has been working with Exchange since version 4.0 and been in the hosting game since 2003. Microsoft Hosted Messaging and Collaboration platforms is another one of Cameron’s specialties. He has installed and maintained all versions from 3.5 upwards.

His loves are technology, beer and socialising with mates.