Partager via


TestByContext method of the PS_DnsServer class

Tests that the computers with the addresses that you specify are functioning DNS servers.

Syntax

uint32 TestByContext(
  [in]  string            IPAddress[],
  [in]  string            ComputerName,
  [in]  string            Context,
  [out] DnsServerValidity cmdletOutput[]
);

Parameters

IPAddress [in]

IP address of DNS server.

ComputerName [in]

Specifies the remote computer on which to execute the command

Context [in]

Details of functionality to be tested.

DnsServer

Forwarder

RootHints

cmdletOutput [out]

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