Share via


AddByName method of the PS_DnsServerDirectoryPartition class

Create a DNS application directory partition.

Syntax

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

Parameters

Name [in]

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

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 an embedded instance of the DnsServerDirectoryPartition 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_DnsServerDirectoryPartition