Broken network connectivity on a Windows 2003 system

I spent a few hours today troubleshooting broken network connectivity on a broken Windows 2003 virtual machine. The issue was puzzling as the system showed entries in its ARP cache (arp -a) after a reboot, and yet it could not communicate with other network devices. The system had also managed to pick up a DHCP lease before networking ceased.
Continue reading Broken network connectivity on a Windows 2003 system

Setting Exchange calendar permissions using Powershell

A trick many people seem to miss is that it’s possible to set a mailbox’s calendar permissions using Powershell. This is achieved using the Add-MailboxFolderPermission and then specifying the folder you want to set permissions on, in this case the calendar.

For example, to set it so that by default everyone has “Reviewer” access to a mailbox:
Add-MailboxFolderPermission -Identity "dave@nwtraders.msft:\Calendar" -User Default -AccessRights Reviewer

Batch export Exchange mailboxes to PST

I recently had a requirement to export a bunch of mailboxes to PST from an Exchange 2010 environment. Thankfully Exchange 2010 SP1 had been deployed so I had access to the New-MailboxExportRequest series of cmdlets. Here’s what I came up with:

$ou = "nwtraders.msft/Users/Left"
$mailboxServer = "LONEX01"
$destinationUNC = "\\LONFS01\MBOX$\"

$mailboxList = Get-Mailbox -OrganizationalUnit $ou -Server $mailboxServer
$mailboxList | foreach-object {
New-MailboxExportRequest -FilePath $($destinationUNC)$($_.Name).pst -Mailbox $_.Name -Name $_.Name
}

Continue reading Batch export Exchange mailboxes to PST