CmdID / PowerShell / Cmdlets / Get
Get-DnsClientServerAddress
Gets DNS server IP addresses from the TCP/IP properties on an interface. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-AddressFamily, -FamilySpecifies the address family.-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-InterfaceAliasSpecifies the friendly name of the interface.-InterfaceIndexSpecifies the index number of the interface.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.