Wednesday, June 3, 2009

Get-MailboxDatabase -Status

I will list some of basic PS scripts on my blog site and I also show you how to build and shape your own PowerGUI tool, as I said several times PowerGUI is incredible powerful and easy to use, the best part is you don't have to know much to get going………

First download and install PowerGUI

Second When you open power GUI create a folder under Exchange anywhere and call it anything you like , I called mine “PS Scripts”

image

Now I will show you how to create ready to go PS scripts to make your daily job easy and once you understand you can use your imagination and extend your own script folder.

Now on the folder

  • Right click
  • new
  • Script node

image

This is what you will get , let me explain what # does actually within the PS Script, it means “comment out” click here for more info

image

Name=Get-MailboxDatabase –Status

copy and paste the PS code in the body as shown below


Get-MailboxDatabase -Status Format-Table Name, Server, Mounted

image

Download here

image

image

You can easily use same PS Script on PowerGUI Script editor

image

Please pay attention to comment out section I tried to give you more information

Now you know how to make PS scripts easy work and enjoy the power of PS with PowerGUI

I will post least one more PS script for everyone so you can add easily your your tool box within the PowerGUI and imagine soon you will have everything you need click away from you

All credits goes to PowerGUI team and thanks million for this incredible tool

Cheers,

Oz Casey Dedeal

MVP (Exchange)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

Http://smtp25.blogspot.com (Blog)

Https://telnet25.spaces.live.com (Blog)

Https://telnet25.worldpress.com (Blog)

No comments: