DNSServer Parameter (Get-DNS Cmdlet)
The address of the DNS Server to use.
Syntax
Get-DNS -DNSServer string
Remarks
The cmdlet will try to figure out the default dns server of the interface that it encounters. You may provide one to override this behavior.
Default Value
""
Parameter Alias
Server