< Back

Get-UserProcess

Mon Jan 13, 2020 8:22 pm

NAME Get-UserProcess



SYNOPSIS

The Get-UserProcess cmdlet gets current user processes on a local computer.

Without parameters, this cmdlet gets all current user of the processes on the local computer.





SYNTAX

Get-UserProcess [[-Name] <String>] [-Force] [<CommonParameters>]





DESCRIPTION

The Get-UserProcess cmdlet gets current user processes on a local computer.

Without parameters, this cmdlet gets all current user of the processes on the local computer.





PARAMETERS

-Name <String>

Name of specific process from current user on the local computer.



Required? false

Position? 1

Default value *

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-Force [<SwitchParameter>]

Disable the built-in Format-Table and Sort-Object.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-UserProcess



List all current user of the processes on the local computer with built-in Format-Table and Sort-Object.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-UserProcess -Force



List all current user of the processes on the local computer and disable built-in Format-Table and Sort-Object.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-UserProcess -Name explorer



List specific process from current user on the local computer with built-in Format-Table and Sort-Object.









-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Get-UserProcess -Name explorer -Force



List specific process from current user on the local computer and disable the built-in Format-Table and

Sort-Object.











RELATED LINKS