2012-01-16 22 views
0
get-process -computername cname | where-object {$_.mainwindowhandle -ne 0} ` 
    | select-object name, mainwindowtitle 

這不起作用。如何使用PowerShell獲取遠程計算機上正在運行的應用程序的列表?

它只能拿到名單,但不能顯示mainwindowtitle列表...

+0

此接縫在本地機器上正常工作。您可能無法遠程訪問過程窗口。我會嘗試用power shell remoting來做 – rerun 2012-01-16 14:35:15

+2

但是這個問題是這樣的重複:http://stackoverflow.com/questions/8880907/how-to-get-list-of-running-applications-on-remote-電腦使用PowerShell! – 2012-01-16 14:59:59

回答

相關問題