GetByServer method of the PS_DnsServerQueryResolutionPolicy class
Enumerates the name resolution policies by server.
Syntax
uint32 GetByServer(
[in] string Name,
[in] string ComputerName,
[out] DnsServerPolicy cmdletOutput[]
);
Parameters
-
Name [in]
-
Name of the policy to retrieve.
-
ComputerName [in]
-
Optional DNS server name.
-
cmdletOutput [out]
-
On return, contains an array of DnsServerPolicy. This parameter returns a value only if PassThru is set to true.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\Microsoft\Windows\Dns |
MOF |
|
DLL |
|