GetByAll method of the PS_DnsServerSetting class

Retrieve DNS server settings.

Syntax

uint32 GetByAll(
  [in]  boolean          All,
  [in]  string           ComputerName,
  [out] DnsServerSetting cmdletOutput
);

Parameters

All [in]

Retrieves all the settings.

ComputerName [in]

Specifies the remote computer on which to execute the command.

cmdletOutput [out]

Receives an embedded instance of the DnsServerSetting class.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

PS_DnsServerSetting