TestimoX

API Reference

Command

Get-CxRdp

Namespace ComputerX.PowerShell
Inputs
System.String
Outputs
ComputerX.Rdp.RdpConfigInfo

Returns Remote Desktop configuration details for a computer.

Examples

Authored help example

Example 1: Shows the local Remote Desktop configuration.

PS>


Get-CxRdp | Format-List *
        

Example 2: Checks whether a jump server is configured with the expected RDP posture.

PS>


Get-CxRdp -ComputerName JUMP-01
        

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-CxRdp [-ComputerName <string>] [<CommonParameters>]
#

Parameters

ComputerName string optionalposition: 0pipeline: true (ByValue, ByPropertyName)
Target computer name. Use . for the local machine or provide a DNS/NetBIOS name. When omitted, the local computer is queried.

Outputs

ComputerX.Rdp.RdpConfigInfo