API Reference
Command
Get-CxProcess
Returns the running process inventory for one or more computers.
Examples
Example 1: Lists the local process inventory.
PS>
Get-CxProcess
Example 2: Queries a remote server and filters the output to PowerShell-related processes.
PS>
Get-CxProcess -ComputerName APP01 | Where-Object Name -like 'pwsh*'
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Get-CxProcess [-ComputerName <string[]>] [<CommonParameters>]#Parameters
- ComputerName string[]
- Target computer names. Use . for the local machine or provide DNS/NetBIOS names. When omitted, the local computer is queried.
Outputs
ComputerX.Processes.ProcessInfo