Domain Detective

API Reference

Class

CmdletTestPortAvailability

Namespace DomainDetective.PowerShell
Assembly DomainDetective.PowerShell
Implements
IDisposable
Modifiers sealed
Attributes
Cmdlet("Test", "DDNetworkPortAvailability", DefaultParameterSetName = "ServerName") Alias(["Test-NetworkPortAvailability"])

Checks connectivity to common service ports on a host.

Inheritance

Examples

Check ports on a server.


Test-DDNetworkPortAvailability -HostName mail.example.com -Ports 25,443
        

Constructors

Methods

BeginProcessingAsync() #

Initializes logging and helper classes.

Returns

A Task representing the asynchronous operation.

ProcessRecordAsync() #

Executes the cmdlet operation.

Returns

A Task representing the asynchronous operation.

Fields

public DnsEndpoint DnsEndpoint #
Parameter(Mandatory = false)

DNS server used for queries.

public String HostName #
Parameter(Mandatory = true, ParameterSetName = "ServerName", Position = 0)

Host to test.

public Int32[] Ports #
Parameter(Mandatory = false)

Ports to check.

{{ include "footer" }}