Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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] string  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:  This parameter is supported beginning with Windows Server Technical Preview.

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

 

 

Community Additions

Show:
© 2015 Microsoft