次の方法で共有


AddByForwardLookupZone method of the PS_DnsServerSecondaryZone class

Creates a standard secondary zone.

Syntax

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

Parameters

LoadExisting [in]

Loads existing zone

MasterServers [in]

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

Name [in]

Specifies the name of the zone.

ZoneFile [in]

Specifies zone file path

ComputerName [in]

Specifies the remote computer on which to execute the command

PassThru [in]

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

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