Monday, May 19, 2008

Some Handy powershell cmdlets with syntax (note the pipe doesn't show up in blogger, so i'll use the word PIPE)

Setup Resource Mailboxes (like a new conf room).
1st, add create the new mailbox with EMC, then with EMS:

Add-MailboxPermission -AccessRights FullAccess -Identity ResourceMailbox -User Test1
Set-MailboxCalendarSettings -AutomateProcessing:AutoAccept

Add Mailbox Rights
Add-MailboxPermission "Mailbox" -User "Trusted User" -AccessRights FullAccess

Get Mailbox Sizes for all users
Get-MailboxStatistics PIPE fl totalitemsize, displayname

Set Rights for BesAdmin on a mailbox server (any time one is added)
Get-mailboxserver PIPE add-adpermission –user BESAdmin -accessrights GenericRead, GenericWrite -extendedrights Send-As, Receive-As, ms-Exch-Store-Admin

Get Mailbox Size/Location for 1 user
get-mailboxstatistics user.name PIPE fl

To get detailed information about the mailbox and what folders might be large, run this:
Get-mailboxfolderstatistics user.name

Force the GAL to update:
Get-globaladdresslist PIPE update-globaladdress list

Tuesday, May 6, 2008

Godaddy.com Subject Alternate Name certificate (SAN cert)

I purchased the UCC cert for 5 domain names for $90 (they don't call it a SAN cert) and added the godaddy trusted root cert into the main certificate store, then with the SAN cert just from powershell :

import-exchangecertificate -path c:\owa.company.com.crt enable-exchangecertificate -services IIS, SMTP, POP, IMAP

the pipe won't show up on blogger but you need a pipe before the enable as you are passing the import command data along to the enable command.

Wednesday, April 30, 2008

Passed 70-238 with a 908

This test was just weird. 70-236 and 70-237 were right on with the MS objectives, however this one was just all over the place. I obviously can't say much about it, but like any other test, if you have real world experience and know your stuff, you'll pass. At the time of this post, neither 237 nor 238 have books released so I just took the tests blind (but with 2nd shot) and passed easily from being in the trenches with exchange 07.

Friday, April 18, 2008

Passed 70-237 with a breeze

That was a little too easy I think, I got a 921, again the exam objectives on the MS site are all covered, know your AD infrastructure or don't even try this one.

Tuesday, April 15, 2008

Passed 70-236 today, taking 237 friday

Obviously I can't say much about it, but the exam objectives listed on MS's site were dead on. The test did make me wonder who really backs up the queue databases on their hub transport servers?

There is no book out for 237, so I'm taking blind (thank goodness for 2nd shot). Wish me luck.

Tuesday, April 8, 2008

Public Folders and Exchange 07

So SP1 gave us some GUI management, but still no way to set permissions with the gui other than 'send as'. The 2 most common resolutions to this problem are 1. Leave PF's on Exchange 2003, and 2. Suck it up, and deal with it in powershell; here is how:

To modify the permissions of a top level folder to give the user "sally" editor rights and have this permission apply to all sub-folders, execute this command:

get-publicfolder -"\top level folder name" -recurse PIPE add-publicfolderclientpermission -accessrights "editor" -user "sally"

Use the pipe symbol, not the word, for some reason the symbol doesn't show up on blogger.