API Reference
Command
Test-ADXPort
Tests TCP and UDP ports on remote computers.
Examples
Generated fallback example from command syntax.
Test-ADXPort -ComputerName @('Name')
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
Test-ADXPort [-ComputerName <string[]>] [-MaxConcurrency <int>] [-PortTCP <int[]>] [-PortUDP <int[]>] [-RetryCount <int>] [-RetryDelayMs <int>] [-TimeoutMs <int>] [-UdpRequireResponse] [-UseAdCoreProfile] [<CommonParameters>]#Parameters
- ComputerName string[]
- Computer names to test.
- MaxConcurrency int
- Maximum concurrent computer tests.
- PortTCP int[]
- TCP ports to test.
- PortUDP int[]
- UDP ports to test.
- RetryCount int
- Number of retries per port.
- RetryDelayMs int
- Milliseconds to wait between retries.
- TimeoutMs int
- Milliseconds to wait for connection.
- UdpRequireResponse SwitchParameter
- Require a UDP response to mark the port as open.
- UseAdCoreProfile SwitchParameter
- Use the built-in AD core TCP port profile (88,135,389,445,3268,3269,636,53).
Outputs
ADPlayground.Network.PortTestResult