powershell交换问题
首先,我对 powershell 还很陌生,所以我的问题可能没有正确表达,但我需要做的是这个。
我需要禁止交换用户更改其电子邮件密码。我现在需要能够使用 powershell 脚本来完成此操作。我稍后将不得不通过 .net 代码来实现这一点。我猜测我将通过代码发送 powershell 脚本本身,或者调用 EWS api 来执行相同的操作。我尝试在 EWS 上寻求帮助,但找不到有关上述工作的任何帮助。
有谁知道如何通过
[A.] powershell 脚本
[B.] .Net 代码(带或不带 EWS)
来完成我需要的任务,谢谢您的时间...
First of all, I am pretty new to powershell, so my questions might not be framed correctly but what I need to do is this.
I have a requirement to disable an exchange user from changing his email password. I need to be able to do this using powershell scripts for now. This I will later have to implement via .net code. I am guessing that I will be sending powershell scripts itself via the code or perhaps calling the EWS api to do the same. I tried looking for help on EWS but couldnt find any on the job above.
Does anyone have any ideas how to accomplish what I need thru
[A.] powershell scripts
[B.] .Net code (with or without EWS)
Thanks for your time...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一些参考:
Introducing the Exchange Web Services Managed API 1.0
http://msdn.microsoft.com/en -us/library/dd637749(v=exchg.80).aspx
C#:使用 Exchange Web 服务从 Exchange 获取所有电子邮件
http://omegacoder.com/?p=454
通过 PowerShell 使用 EWS 托管 API http://gsexdev.blogspot.com/2009/04/使用-ews-management-api-with-powershell.html
There are some references:
Introducing the Exchange Web Services Managed API 1.0
http://msdn.microsoft.com/en-us/library/dd637749(v=exchg.80).aspx
C#: Getting All Emails From Exchange using Exchange Web Services
http://omegacoder.com/?p=454
Using the EWS managed API via PowerShell http://gsexdev.blogspot.com/2009/04/using-ews-managed-api-with-powershell.html