API Reference
Command
Get-CxRemotePowerShellTransportDiagnostic
Implements the Get-CxRemotePowerShellTransportDiagnostic cmdlet.
Examples
Example 1
Get-CxRemotePowerShellTransportDiagnostic -ComputerName AD1.ad.evotec.xyz
Example 2
Get-CxRemotePowerShellTransportDiagnostic -ComputerName AD1.ad.evotec.xyz -IncludePortInSpn
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-CxRemotePowerShellTransportDiagnostic [-ComputerName <string[]>] [-Authentication <Default>] [-ConfigurationName <string>] [-Credential <PSCredential>] [-IdleTimeoutSeconds <int>] [-IncludePortInSpn] [-NoMachineProfile] [-OpenTimeoutSeconds <int>] [-OperationTimeoutSeconds <int>] [-Port <int>] [-UseSsl] [<CommonParameters>]#Parameters
- ComputerName string[]
- Target computer(s). Use '.' for the local computer or provide DNS names.
- Authentication AuthenticationMechanism
- Optional authentication mechanism for remote transport diagnostics. Possible values: Default, Basic, Negotiate, NegotiateWithImplicitCredential, Credssp, Digest, Kerberos
- Possible values:
Default,Basic,Negotiate,NegotiateWithImplicitCredential,Credssp,Digest,Kerberos - ConfigurationName string
- Optional PowerShell endpoint configuration name for remote transport diagnostics.
- Credential PSCredential
- Optional alternate credential for remote transport diagnostics.
- IdleTimeoutSeconds int
- Optional remote session idle timeout in seconds for remote transport diagnostics.
- IncludePortInSpn SwitchParameter
- Includes the port in the WinRM service principal name.
- NoMachineProfile SwitchParameter
- Requests a WinRM session without loading the remote machine profile.
- OpenTimeoutSeconds int
- Optional remote session open timeout in seconds for remote transport diagnostics.
- OperationTimeoutSeconds int
- Optional remote operation timeout in seconds for remote transport diagnostics.
- Port int
- Optional WinRM port override for remote transport diagnostics.
- UseSsl SwitchParameter
- Uses HTTPS when invoking remote transport diagnostics.
Outputs
ComputerX.Remote.RemotePowerShellTransportDiagnosticResult