MsExchange Blog Spot Telnet25

June 4, 2009

PowerGUI mailbox Count per mail Store

Filed under: General (1) — telnet25 @ 3:09 am

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)

Advertisements

1 Comment »

  1. Not to be a nay-sayer, but shouldn’t the window in PowerGUI show the “Mounted” field like it does when you run the script in the shell. Even in your screen shot, it doesn’t show “Mounted” it shows “Recovery”. It looks like it was never piped to the ft command.

    Comment by Jon Harvey — July 23, 2009 @ 4:29 pm | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: