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..!