Поделиться через


PS_DnsServerSetting class

DNS Server Setting 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_DnsServerSetting
{
};

Members

The PS_DnsServerSetting class has these types of members:

Methods

The PS_DnsServerSetting class has these methods.

Method Description
GetByAll Retrieve DNS server settings.
GetByBrief Retrieve DNS server settings.
Set Sets Different DNS server settings: One of the parameters other than RemoteName, Credentials, comments is mandatory. This should also take remote ip address from pipeline from other cmdlets. Hence we may need an additional IP address parameter. This applies to all the cmdlets.

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