Поделиться через


Get method of the PS_DnsServerResourceRecord class

Retrieve resource record from a specified zone.

Syntax

uint32 Get(
  [in]  string                  Name,
  [in]  string                  ComputerName,
  [in]  string                  ZoneName,
  [in]  boolean                 Node,
  [in]  string                  ZoneScope,
  [in]  string                  VirtualizationInstance,
  [in]  string                  RRType,
  [out] DnsServerResourceRecord cmdletOutput[]
);

Parameters

Name [in]

The name of the record to be retrieved.

ComputerName [in]

Specifies the remote computer on which to execute the command.

ZoneName [in]

Specifies the name of the zone.

Node [in]

If specified, returns only the parameters at root of Name.

ZoneScope [in]

Name of the zone scope.

Windows Server 2012: Not supported.

VirtualizationInstance [in]

Unique identifier of the virtualization instance.

Windows Server 2012 R2 and Windows Server 2012: This parameter is not supported before Windows Server 2016.

RRType [in]

The type of resource record to delete.

The possible values are.

A ("A")

Ns ("Ns")

CName ("CName")

Wks ("Wks")

Ptr ("Ptr")

Note

There is a leading space in this value.

HInfo ("HInfo")

Mx ("Mx")

Txt ("Txt")

Rp ("Rp")

Afsdb ("Afsdb")

X25 ("X25")

Isdn ("Isdn")

Rt ("Rt")

AAAA ("AAAA")

Srv ("Srv")

Atma ("Atma")

DName ("DName")

Ds ("Ds")

Rrsig ("Rrsig")

Nsec ("Nsec")

DnsKey ("DnsKey")

DhcId ("DhcId")

Wins ("Wins")

WinsR ("WinsR")

Tlsa ("Tlsa")

Windows Server 2012 R2 and 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