Showing posts with label powershell. Show all posts
Showing posts with label powershell. Show all posts

Migrating agents between DPM servers

To migrate your DPM protected servers from one DPM parent server to another, follow the procedure below...

On the client machine (agent) to re-targeted.

1) Open a CMD promt, and CD to "C:\Program Files\Microsoft Data Protection Manager\DPM\bin"

2) Type "SetDpmServer.exe -dpmservername yourdpmservername"

On the new DPM server you wish to use

1) Open a powershell prompt, and run "attach-productionserver.ps1"

2) Answer the prompts!

See the screenies below!


Managing Outlook Anywhere Access On Exchange 2007

The business wanted to enable Outlook Anywhere access onto our Exchange 2007 server, but wanted to be selective about who could use it.

Here's how i acheived it with a bit of powershell...

get-user | set-casmailbox -mapiblockoutlookrpchttp:$true

This filters out "ALL" users, and disables "outlookrpchttp" < (Outlook Anywhere) You can then re-enable RPC over HTTP for selected users using the following command set-casmailbox –identity -mapiblockoutlookrpchttp:$false