2012-07-10 70 views
0

我正在尋找一個web服務,使PowerShell調用將用戶添加到活動目錄。我有PowerShell調用,但不知道如何使Web服務發出呼叫。下面你會找到powershell腳本。Powershell活動目錄網絡服務

New-Item -Path <drive>:\RightsPolicyTemplate\<template_ID>\UserRight -Name <e-mail_address> [-FullControl] [-View] [-Edit] [-Save] [-Export] [-Print] [-Forward] [-Reply] [-ReplyAll] [-Extract] [-AllowMacros] [-ViewRightsData] [-EditRightsData] [-CustomRight <custom_right>,<custom_right>…] 

我正在運行Windows 2008 R2。

回答