Scripting, PowerShell and PowerGUI

First there was batch files then there were scripts and now there is PowerShell.

I had a comment from Dmitry (http://dmitrysotnikov.wordpress.com/2007/03/21/momscom-powershell/) who asks about MOM bloggers and PowerShell as there does not seem to be many.

Well there are more Exchange installations out there and it has been going longer than MOM and SCOM, which does use PowerShell and has just recently been released. Personally I do not get too involved in scripts and PowerShell as I am mostly involved in the analysis, design and implementation of MOM/SCOM systems. The use of PowerShell will be for admins who want to automate repetitive tasks. I am never usually at a site long enough to get to that repetitive state. Also I don’t want to be a Unix admin!

Dmitry did point out – http://powergui.org/ which he was involved in. This add a GUI to a command line which is supposed to replace a GUI! Mind boggling. I went to the Quest stand yesterday and had a look. It is fabulous. You have a nice front end which creates the queries and formats the output in a nice manner. You can then look at the other window and see what PowerShell command was used so you can cut and paste it for future use. Highly recommended – especially as it is free!

Stefan was also impressed with the product. http://www.weblog.stranger.nl/managing_systems_with_powershell

I have seen some bits from Stefan, Pete and others on PowerShell and systemcenterforum.org has a PowerShell section as well as a script area but for people interested in PowerShell here are some good places to start.

Dmitry’s Power Blog – http://dmitrysotnikov.wordpress.com/
The PowerShell Guy – http://ThePowerShellGuy.com (links to other blogs on his page)
PowerShell team – http://blogs.msdn.com/powershell/default.aspx
System Center Operations Manager Command Shell -http://blogs.msdn.com/scshell/default.aspx  
MOM Resources – http://www.momresources.org/scripts-powershell.shtml
Stefan Stranger posts
http://weblog.stranger.nl/powershell_retrieve_available_cmdlet_from_snapin
http://weblog.stranger.nl/powershell_monitoring_scripts_for_exchange_2007_with_powergadgets
http://weblog.stranger.nl/list_installed_opsmgr_2007_mps_with_powershell
The Script Center Script Repository: Sample Windows PowerShell Scripts – http://www.microsoft.com/technet/scriptcenter/scripts/msh/default.mspx?mfr=true
Scripting with Windows PowerShell – http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx
PowerShell home – http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx
The PowerShell Information Centre – http://www.reskit.net/powershell/index.htm
Channel 9 Wiki PowerShell quick start – http://channel9.msdn.com/wiki/default.aspx/Channel9.WindowsPowerShellQuickStart

PowerShell Newsgroup for Operations Manager – microsoft.public.opsmgr.powershell

And not forgetting scripts

Scripting for MOM – http://www.microsoft.com/technet/scriptcenter/hubs/mom.mspx
Script Center – http://www.microsoft.com/technet/scriptcenter/default.mspx
Gerald Mims (originally on GotDotNet) – http://geraldmims.spaces.live.com/
MOM Resources – http://www.momresources.org/downloads-scripts.shtml

And there is more but a lot of these have links that can lead you to other areas of interest. And I haven’t even mention WMI or the fact that you can download Services for Unix and run Perl scripts on Windows. http://www.microsoft.com/technet/interopmigration/scripts/default.mspx.

Looks like scripting may be fashionable again.

Advertisements

1 Comment

  1. dmitrysotnikov

    Great post Ian with a lot of useful references! If you check out Library at http://PowerGUI.org there actually is a PowerPack Deuce created for MOM. I saw it this week and it was really cool. I owe you a blog post with the screenshots (I guess once I am back in the office next week…)

    Dmitry

%d bloggers like this: