question

JinBa-5710 avatar image
0 Votes"
JinBa-5710 asked RichMatheisen-8856 answered

The processID, Owner and Time of a long running process.

Hi All,

thanks in advance, Can anybody help me on this.

A powershell script to check specific process and fetch the below detail.

The PID, Owner of the process and how much time the process is running.

Thanks,
Jin

windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RichMatheisen-8856 avatar image
0 Votes"
RichMatheisen-8856 answered

The Get-Process cmdlet will provide all that information. Use the -IncludeUserName parameter and run it from an elevated (i.e. run as administrator) PowerShell session.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.