SetByADZone method of the PS_DnsServerConditionalForwarder class

Sets DNS server Conditional Forwarder settings.

Syntax


uint32 SetByADZone(
  [in]  string                            DirectoryPartitionName,
  [in]  string                            ReplicationScope,
  [in]  string                            Name,
  [in]  string                            ComputerName,
  [in]  boolean                           PassThru,
  [out] DnsServerConditionalForwarderZone cmdletOutput
);

Parameters

DirectoryPartitionName [in]

Specifies the name of the directory partition.

ReplicationScope [in]

The replication scope.

The possible values are.

Forest ("Forest")

Domain ("Domain")

Legacy ("Legacy")

Custom ("Custom")

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 object that was modified by the method. By default, this method does not generate any output.

cmdletOutput [out]

On return, contains an instance of the current object. This parameter returns a value only if PassThru is set to true.

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_DnsServerConditionalForwarder

 

 

Show: