Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I try to run:

New-ActiveSyncMailboxPolicy Test

directly in the Powershell, it asks me if im sure, and if so, it does what it should. But if I try the same from my example Code in C#, then I get an error, saying that "the current host does not implement it". Other Commands like Set-CASMailbox or Get-ActiveSyncMailboxPolicy work just fine, both in the powershell and my application.

The Exchange Server/Windows Server 2008R2 and Domain are all setup completely new (test-environment). Is there a way to make this possible?

share|improve this question
up vote 1 down vote accepted

After alot more research, trial-and-error and work, I found that not the "New-ActiveSyncMailboxPolicy" feature that is not implemented, but the "ask the user if he is sure" feature. I must have overlooked the parameter for that, but it is possible to turn of this by setting "Confirm" to false. Doing so, everything works as expected.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.