PowerShell Logo Small

Get-DnsClientGlobalSetting



This is the built-in help made by Microsoft for the command 'Get-DnsClientGlobalSetting', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Retrieves global DNS client settings like the suffix search list.

SYNTAX


Get-DnsClientGlobalSetting [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-DnsClientGlobalSetting cmdlet retrieves DNS client settings that are global, that are not associated with a specific interface. The
settings affect the behavior of the DNS client across all of the interfaces.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?LinkId=262520
Set-DnsClientGlobalSetting

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Get-DnsClientGlobalSetting
UseSuffixSearchList : True
SuffixSearchList : {corp.contoso.com, na.corp.contoso.com}
UseDevolution : True
DevolutionLevel : 0



This example gets all of the global DNS client settings.




EXAMPLE 2

PS C:\>$dnsCGSetting = Get-DnsClientGlobalSetting



PS C:\>$dnsCGSetting.SuffixSearchList
corp.contoso.com
na.corp.contoso.com



This example gets the connection-specific suffixes. The first item in the list is the primary DNS suffix, if configured.