I need a place to store useful Powershell commands for the administration of Exchange Server 2007, so I thought I would add them here:
Upgrading Exchange OrganisationPlace Replicas of Public Folders on New Exchange Serverget-publicfolder -recurse Set-PublicFolder -Replicas:"server\public folder
database","server\public folder store (server)"
Enable ActiveSync Policy for Windows Mobile 2003 Smartphones and Pocket PC'sNew-ActiveSyncMailboxPolicy "Windows Mobile 2003 Users" -AttachmentsEnabled:$false -DevicePasswordEnabled:$false -AlphanumericDevicePasswordRequired:$false -PasswordRecoveryEnabled:$false -DeviceEncryptionEnabled:$false -AllowNonProvisionableDevices:$true -AllowSimpleDevicePassword:$false -DevicePasswordExpiration:unlimited -WSSAccessEnabled:$false -UNCAccessEnabled:$false
Enable ActiveSync Policy for Windows Mobile 5 Smartphones and Pocket PC'sNew-ActiveSyncMailboxPolicy "Windows Mobile 5 Users" -AttachmentsEnabled:$true -DevicePasswordEnabled:$true -AlphanumericDevicePasswordRequired:$false -PasswordRecoveryEnabled:$true -DeviceEncryptionEnabled:$false -MinDevicePasswordLength:4 -MaxInactivityTimeDeviceLock:00:15:00 -MaxDevicePasswordFailedAttempts:8 -AllowNonProvisionableDevices:$false -AllowSimpleDevicePassword:$false -DevicePasswordExpiration:unlimited -WSSAccessEnabled:$true -UNCAccessEnabled:$true
Set ActiveSync Policy Against All Users for a Given Policyget-mailbox Set-CASMailbox -ActiveSyncMailboxPolicy:"Name Of Policy"
Labels: 2007, exchange, powershell, upgrade
permalink posted by Brian Reid : 8:53 AM


Archive
March 2005
July 2005
February 2006
May 2006
November 2006
March 2007
May 2007
June 2007
August 2007
April 2008
May 2008
June 2008
September 2008
October 2008
November 2008
January 2009
February 2009
March 2009