Set method of the PS_DnsServer class

Overwrites entire DNS server configuration.

Syntax


uint32 Set(
  [in]  DnsServer InputObject,
  [in]  string    ComputerName,
  [in]  boolean   Force,
  [in]  boolean   CreateFileBackedPrimaryZones,
  [in]  boolean   PassThru,
  [out] DnsServer cmdletOutput
);

Parameters

InputObject [in]

An embedded instance of the DnsServer class that specifies DNS server configuration that needs to be applied.

ComputerName [in]

Specifies the remote computer on which to execute the command

Force [in]

If specified, overrides the default confirmation before performing the operation.

CreateFileBackedPrimaryZones [in]

Specifies that new file backed primary zones need to be created on the server

PassThru [in]

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

cmdletOutput [out]

An embedded instance of the DnsServer 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_DnsServer

 

 

Show: