API Reference
Cmdlet
Find-DnsService
Discovers services advertised via DNS Service Discovery.
Examples
Example 1
Find-DnsService -Domain example.com
Find services under a domain
Example 2
Find-DnsService -Domain example.com | Where-Object {$_.ServiceName -like '*http*'}
Filter for a specific service type
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
Find-DnsService -Domain <string> [<CommonParameters>]#Parameters
- Domain string
- Domain name to search for advertised services.