Register method of the PS_DnsServerDirectoryPartition class

Adds the DNS server to the specified directory partition\'s replica set. This operation allows application directory partitions to be added to from the Application Directory Partition Table, and also allows the DNS server to be directed to add itself from the replication scope of an existing application directory partition.

Syntax


uint32 Register(
  [in]  string                      ComputerName,
  [in]  boolean                     PassThru,
  [in]  string                      Name,
  [out] DnsServerDirectoryPartition cmdletOutput
);

Parameters

ComputerName [in]

Specifies the remote computer on which to execute the command.

PassThru [in]

If specified, returns the object or objects on which the operation was done.

Name [in]

The fully qualified domain name of the DNS application directory partition that will be created.

cmdletOutput [out]

On return, contains an embedded 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_DnsServerDirectoryPartition

 

 

Show: