TestimoX

API Reference

Command

Get-CxProcess

Namespace ComputerX.PowerShell
Inputs
System.String[]
Outputs
ComputerX.Processes.ProcessInfo

Returns the running process inventory for one or more computers.

Examples

Authored help example

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[] optionalposition: 0pipeline: true (ByValue, ByPropertyName)
Target computer names. Use . for the local machine or provide DNS/NetBIOS names. When omitted, the local computer is queried.

Outputs

ComputerX.Processes.ProcessInfo