How do you impersonate an Active Directory user in Powershell?

前端 未结 4 1082
执念已碎
执念已碎 2020-12-15 09:54

I\'m trying to run powershell commands through a web interface (ASP.NET/C#) in order to create mailboxes/etc on Exchange 2007. When I run the page using Visual Studio (Cassi

4条回答
  •  难免孤独
    2020-12-15 10:35

    You might need a patch.

    From: http://support.microsoft.com/kb/943937

    An application cannot impersonate a user and then run Windows PowerShell commands in an Exchange Server 2007 environment

    To resolve this problem, install Update Rollup 1 for Exchange Server 2007 Service Pack 1.

提交回复
热议问题