commands detail - p
You can use get-process
to get information about other computers:
get-process -ComputerName bigserver gvim*
You can use select
and where
to ‘slice and dice’ the information.
By default get-process
shows all of the processes on the current PC or server
If you wanted to just see details of your process you could do this:
I think this shows information about the processes threads:
get-process -pid $pid | select -expand threads
get-process -IncludeUserName | ? Username -eq "Ronnie\Matt"
To show your current location in Powershell:
Get-Location
There is also a built-in variable