Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveSync Policy

Status
Not open for further replies.

intel233

MIS
Feb 24, 2007
289
US
I have a couple of Activesync policies. I want to apply a policy called Corporate to my Corporate 1GB mailbox database. Is this possible?
I tried:
Get-MailboxDatabase "Corporate 1GB" | Set-CASMailbox -ActiveSyncMailboxPolicy Corporate
Get-Mailbox -database "corporate 1GB" |Set-CASMailbox -ActiveSyncMailboxPolicy "corporate"
but that does not work. I want all users in this database to get this policy.
 
The second command is the approach you should take.

This command worked for me:

Get-Mailbox -database "databasename" | get-casmailbox

And then this one worked:

Get-Mailbox -database "databasename" | set-casmailbox -activesyncmailboxpolicy Default

So I would just check spelling/syntax.

Dave Shackelford
ThirdTier.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top