Open
Description
Every parameter is defined as "optional", but trying to execute the cmdlet without parameters results in an error ("Get-DnsServerResourceRecord : Parameter set cannot be resolved using the specified named parameters.").
But either the parameter names -RRType or -ZoneName seem to be necessary to define a valid parameter set name, AND -ZoneName must also be provided in both parameter sets.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: a3339b20-fc7d-5b03-d2cb-c83d603b7b1e
- Version Independent ID: e095ff30-ca24-6b9a-4f9b-bedf8fdc4109
- Content: Get-DnsServerResourceRecord (DnsServer)
- Content Source: docset/winserver2022-ps/dnsserver/Get-DnsServerResourceRecord.md
- Product: w10
- Technology: windows
- GitHub Login: @JasonGerend
- Microsoft Alias: jgerend