Remove method of the PS_DnsClientNrptRule class
Removes DNS client NRPT rule.
Syntax
uint32 Remove(
[in] string GpoName,
[in] string Name,
[in] boolean PassThru,
[in] string Server,
[in] boolean Force,
[out] DnsClientNrptRule cmdletOutput
);
Parameters
-
GpoName [in]
-
Name of the GPO on which to operate.
-
Name [in]
-
Name which uniquely identifies a rule.
-
PassThru [in]
-
Specifies if result of the cmdlet should be displayed.
-
Server [in]
-
Name of the server containing the GPO.
-
Force [in]
-
Specifies not to issue a prompt.
-
cmdletOutput [out]
-
A DnsClientNrptRule object containing all the properties of DNS client NRPT rule.
Requirements
Minimum supported client |
Windows 8 |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\Dns |
MOF |
|
DLL |
|