More Powershell (MONAD) Stuff
So today I have been actively learning a little bit more about Powershell and generally playing with some of the features which are not that readily obvious. I was chatting with a colleague yesterday, Paul Flaherty, and we have both been overwhelmed with the power that "Monad" will give to the Exchange Administrator.
My previous post was pretty basic and today I learnt something pretty cool. Accessing the registry through Monad.
Through MSH you can type: IPCONFIG which will tell you about your IP settings, you can run NOTEPAD which will open a Notepad, navigate up and directories using regular DOS commands. TAB Auto-Complete also works.
Here's how, and there are a couple of ways of doing so.
- Open MSH
- Type: cd hklm:
- This will change the MSH context to [MSH] HKLM:\Software you can DIR and CD\
The other way is:
- Open MSH
- Type: CD Registry::
- This will change the MSH context to [MSH] Microsoft.Msh.Core\Registry::>
- Type CD HKLM
- Type CD Software
- Try it and you'll get the idea..!
To return back to the regular [MSH] context type cd c:
Other top tips:
- Get-Service lists all the services running on the box
- Get-Process lists all the process running on the box
Have a good Bank Holiday..!
Comments
Anonymous
January 01, 2003
I'm back to work after a not-so-long vacations. This probably means that I'll post more often. ...Anonymous
January 01, 2003
Originally Posted here: http://blogs.flaphead.dns2go.com/archive/2006/09/08/3548.aspx Brett touched...Anonymous
January 01, 2003
I met Scotty at my Exchange 2007 TechNet session last week. Scotty is a bit keen on Powershell. I'm aAnonymous
January 01, 2003
PingBack from http://joshmaher.wordpress.com/2006/08/25/powershell-scripting-for-exchange-2007/Anonymous
January 01, 2003
Brett touched on this a while back, and I just wanted to pad things out a bit.
So as brett mentioned,...Anonymous
January 01, 2003
http://blogs.technet.com/brettjo/archive/2006/08/25/451613.aspx