Set method of the PS_DnsServerResourceRecord class

Updates a resource record.

Syntax


uint32 Set(
  [in]  DnsServerResourceRecord NewInputObject,
  [in]  DnsServerResourceRecord OldInputObject,
  [in]  string                  ComputerName,
  [in]  string                  ZoneName,
  [in]  boolean                 PassThru,
  [in]  string                  ZoneScope,
  [out] DnsServerResourceRecord cmdletOutput
);

Parameters

NewInputObject [in]

A DnsServerResourceRecord that contains the new values. Note that all the values specified in this object will overwrite the existing values.

OldInputObject [in]

The DnsServerResourceRecord object that needs to be modified.

ComputerName [in]

Specifies the remote computer on which to execute the command.

ZoneName [in]

Specifies the name of the zone.

PassThru [in]

true to return the object that was modified by the method. By default, this method does not generate any output.

ZoneScope [in]

Name of the zone scope.

Windows Server 2012:  Not supported.

cmdletOutput [out]

Receives an embedded instance of the DnsServerResourceRecord 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_DnsServerResourceRecord

 

 

Show: