Partager via


Set method of the PS_DnsServerSecondaryZone class

Overwrites settings of DNS server secondary zone.

Syntax

uint32 Set(
  [in]  string                 MasterServers[],
  [in]  string                 Name,
  [in]  string                 ComputerName,
  [in]  string                 ZoneFile,
  [in]  boolean                PassThru,
  [in]  boolean                IgnorePolicies,
  [out] DnsServerSecondaryZone cmdletOutput
);

Parameters

MasterServers [in]

Specifies IP addresses of the master DNS servers for this zone.

Name [in]

Specifies the name of the zone.

ComputerName [in]

Specifies the remote computer on which to execute the command.

ZoneFile [in]

Specifies zone file path.

PassThru [in]

True to return the object that was modified by the method. By default, this method does not generate any output.

IgnorePolicies [in]

true if the policies of this zone are to be ignored; otherwise, false.

Windows Server 2012 R2 and Windows Server 2012: Not supported.

cmdletOutput [out]

Receives and embedded instance of the DnsServerSecondaryZone 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_DnsServerSecondaryZone