Find method of the MSFT_NetConSecRule class
Retrieves the specified connection security rule.
Syntax
uint32 Find(
[in] string LocalAddress,
[in] string RemoteAddress,
[in] string Protocol,
[in] uint16 LocalPort,
[in] uint16 RemotePort,
[out] MSFT_NetConSecRule CmdletOutput[]
);
Parameters
-
LocalAddress [in]
-
The local address specified in the rule.
-
RemoteAddress [in]
-
The remote address specified in the rule.
-
Protocol [in]
-
The protocol of the rule.
-
LocalPort [in]
-
The local port specified in the rule.
-
RemotePort [in]
-
The remote port specified in the rule.
-
CmdletOutput [out]
-
The MSFT_NetConSecRule object that receives the retrieved rule.
Requirements
Minimum supported client |
Windows 8.1 |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
Root\standardcimv2 |
MOF |
|
DLL |
|