CloneObject method of the MSFT_NetFirewallRule class
Copy this rule.
Syntax
uint32 CloneObject(
[in] string NewName,
[in] string NewPolicyStore,
[in] string NewGPOSession
);
Parameters
-
NewName [in]
-
The new name for the rule.
-
NewPolicyStore [in]
-
The new policy store for the rule.
-
NewGPOSession [in]
-
The new GPOSession for the rule.
Requirements
Minimum supported client |
Windows 8 |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\StandardCimv2 |
MOF |
|
DLL |
|