Domain Detective

API Reference

Cmdlet

Get-DnsService

Namespace DnsClientX.PowerShell

Retrieves services advertised via DNS Service Discovery.

Examples

Authored help example

Example 1


Get-DnsService -Domain example.com
        

Discover services under a domain

Example 2


Get-DnsService -Domain example.com | Select-Object ServiceName,Target,Port
        

Pipe results to select useful fields

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-DnsService -Domain <string> [<CommonParameters>]
#

Parameters

Domain string requiredposition: 0pipeline: false
Domain name to search for advertised services.
{{ include "footer" }}