Compartilhar via


PS_DnsServer class

DNS Server definition.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DnsServerPSProvider"), AMENDMENT]
class PS_DnsServer
{
};

Members

The PS_DnsServer class has these types of members:

Methods

The PS_DnsServer class has these methods.

Method Description
Get Retrieves entire DNS Server Configuration
Set Overwrites entire DNS server configuration.
TestByContext tests that the computers with the addresses that you specify are functioning DNS servers.
TestByZoneMaster tests that the computers with the addresses that you specify are functioning DNS servers.

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

DnsServerPSProvider Provider