![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Process List on Another Machine I am fairly new to PS. Can someone tell me if it is possible to get a process list (get-process *) on a remote machine, on which Powershell is not installed? Thanks very much. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Process List on Another Machine if you use Powershell V2 you can use -computername parameter in Get-Process cmdlet. In PowerShell 1.0 you can use Win32_Process class to access remote computer. -- WBR, Vadims Podans MVP: PowerShell PowerShell blog - www.sysadmins.lv "news.motzarella.org" <jc_va@xxxxxx> rakstija zinojuma "news:h0auq3$bpe$1@xxxxxx-september.org"... Quote: > I am fairly new to PS. Can someone tell me if it is possible to get a > process list (get-process *) on a remote machine, on which Powershell is > not installed? > > Thanks very much. > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Process List on Another Machine Just to clarify, Vadims is talking about a WMI class. You would access it like this: Get-WMIObject -computer remotehost Win32_Process "Vadims Podans [MVP]" wrote: Quote: > PowerShell 1.0 you can use Win32_Process class to access remote > computer. > -- |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Process List on Another Machine On Jun 5, 6:16*am, "news.motzarella.org" <jc...@xxxxxx> wrote: Quote: > I am fairly new to PS. *Can someone tell me if it is possible to get a > process list (get-process *) on a remote machine, on which Powershell is not > installed? > > Thanks very much. $strComputer = (remote machine name) $P = gwmi win32_process -comp $strComputer |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Process List on Another Machine From one OldDog to another, thanks very much. |
My System Specs![]() |
| | #6 (permalink) |
| | Re: Process List on Another Machine Hello, What about displaying modules of a process on a remote machine. It is working fine with the current local computer Here is the error I got when I run this command on a remote Computer. Of note, I am using Powershell version 2.0 CTP3 and both of servers having Windows 2003 Stnd with latest sp and the PC I am running Powershell having full permissions on the remote one. PS D:\scripts> get-process notepad -computer REMOTECOMPUTER -module Get-Process : Exception getting "Modules" or "FileVersion": "Feature is not sup ported for remote machines.". At line:1 char:12 + get-process <<<< notepad -computer eg-gsipaa-h02 -module + CategoryInfo : InvalidOperation: (System.String[]:String[]) [Ge t-Process], InvalidOperationException + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.C ommands.GetProcessCommand "PaulChavez" wrote: Quote: > Just to clarify, Vadims is talking about a WMI class. > > You would access it like this: > > Get-WMIObject -computer remotehost Win32_Process > > > > "Vadims Podans [MVP]" wrote: > Quote: > > PowerShell 1.0 you can use Win32_Process class to access remote > > computer. > > -- |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Old failed installation process locks machine from install/uninstall | Vista installation & setup | |||
| List of process with % of CPU use | PowerShell | |||
| Pause script until process id on remote machine goes away? | PowerShell | |||
| Getting list of modules loaded by a process | PowerShell | |||
| How can I start a process on a remote machine using alternate cred | PowerShell | |||