2013-12-10 24 views

回答

0

聽起來像PowerShell的可能是給定的任務範圍內的解決方案,你正在尋找實現

http://www.powershellpro.com/powershell-tutorial-introduction/ http://devinfra-us.blogspot.com/2011/02/using-powershell-20-from-aspnet-part-1.html

,並在本質上,你會被引用System.Management.Automation組裝,創建一個PowerShell對象,並通過它執行動態腳本。

+0

我會爲此推薦WMI API。 PowerShell非常具體,並且具有關於它的「UI感覺」。您可以使用PowerShell通過WMI AMI執行的相同操作,WMI AMI更易於在代碼中使用,它設計用於本地處理遠程系統,而無需任何遠程功能。 –

相關問題