ConvertTo method of the PS_DnsServerSecondaryZone class
Converts a primary zone to a secondary zone. .
Syntax
uint32 ConvertTo(
[in] string ZoneFile,
[in] string MasterServers[],
[in] string Name,
[in] string ComputerName,
[in] boolean PassThru,
[in] boolean Force,
[out] DnsServerSecondaryZone cmdletOutput
);
Parameters
-
ZoneFile [in]
-
Specifies zone file path
-
MasterServers [in]
-
Specifies a list of IPv4/v6 addresses of primary 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
-
PassThru [in]
-
true to return the current instance in the CmdletOutput parameter. The default is false.
-
Force [in]
-
If specified, overrides the default confirmation before performing the operation.
-
cmdletOutput [out]
-
On return, contains an embedded instance of DnsServerSecondaryZone.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\Dns |
MOF |
|
DLL |
|