Retrieves DNS server cache settings.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
[ClassVersion("1.0.0"), dynamic, provider("DnsServerPSProvider"), AMENDMENT]
class PS_DnsServerCache
{
};
Members
The PS_DnsServerCache class has these types of members:
Methods
The PS_DnsServerCache class has these methods.
| Method | Description |
|---|---|
| Clear | Clears the settings of a DNS server cache. |
| Get | Retrieves the settings of a DNS server cache. |
| Set | Updates the settings of a DNS server cache. |
| Show | Dumps a DNS server cache. |
Requirements
| Minimum supported client |
None supported |
| Minimum supported server |
Windows Server 2012 |
| Namespace |
Root\Microsoft\Windows\Dns |
| MOF |
|
| DLL |
|