TestimoX

API Reference

Command

Test-ADXPort

Namespace ADPlayground.PowerShell
Inputs
System.String[]
Outputs
ADPlayground.Network.PortTestResult

Tests TCP and UDP ports on remote computers.

Examples

Generated fallback example

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[] optionalposition: 0pipeline: true (ByValue, ByPropertyName)
Computer names to test.
MaxConcurrency int optionalposition: namedpipeline: false
Maximum concurrent computer tests.
PortTCP int[] optionalposition: namedpipeline: false
TCP ports to test.
PortUDP int[] optionalposition: namedpipeline: false
UDP ports to test.
RetryCount int optionalposition: namedpipeline: false
Number of retries per port.
RetryDelayMs int optionalposition: namedpipeline: false
Milliseconds to wait between retries.
TimeoutMs int optionalposition: namedpipeline: false
Milliseconds to wait for connection.
UdpRequireResponse SwitchParameter optionalposition: namedpipeline: false
Require a UDP response to mark the port as open.
UseAdCoreProfile SwitchParameter optionalposition: namedpipeline: false
Use the built-in AD core TCP port profile (88,135,389,445,3268,3269,636,53).

Outputs

ADPlayground.Network.PortTestResult