Skip to content

Commit 809ee5a

Browse files
Merge pull request #12 from AnirbanPaul/patch-4
Update get-networkcontrolleraccesscontrollistrule.md
2 parents e72a4eb + 1d01395 commit 809ee5a

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

docset/windows/network-controller/get-networkcontrolleraccesscontrollistrule.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ms.assetid: 7D5ACAC1-07CF-4603-8F83-06DAF8ED952F
2020
# Get-NetworkControllerAccessControlListRule
2121

2222
## SYNOPSIS
23-
Gets the ACL rule for a network controller.
23+
Gets a rule from an access control list for a network controller.
2424

2525
## SYNTAX
2626

@@ -31,15 +31,16 @@ Get-NetworkControllerAccessControlListRule [-AccessControlListId] <String[]> [[-
3131
```
3232

3333
## DESCRIPTION
34-
The **Get-NetworkControllerAccessControlListRule** cmdlet gets the access control list (ACL) rule for a network controller.
35-
34+
The **Get-NetworkControllerAccessControlListRule** cmdlet gets a rule from an access control list for a network controller.
3635
## EXAMPLES
37-
38-
36+
This example retrieves all rules belonging to an Access Control List named Subnet1Acl from the Network Controller.
37+
```
38+
Get-NetworkControllerAccessControlListRule -ConnectionUri https://networkcontroller -AccessControlListId "Subnet1ACL"
39+
```
3940
## PARAMETERS
4041

4142
### -AccessControlListId
42-
Specifies the ID of the ACL.
43+
Specifies the ID of the Access Control List where the rule belongs.
4344

4445
```yaml
4546
Type: String[]
@@ -137,6 +138,15 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
137138
## INPUTS
138139
139140
## OUTPUTS
141+
Each rule has the following output:
142+
1. Name
143+
2. Protocol
144+
3. Source and destination port range
145+
4. Source and destination IP address prefix
146+
5. Action on the rule (Allow/Deny)
147+
6. Priority of rule
148+
7. Type of rule (inbound/outbound)
149+
8. Whether logging is enabled/disabled on the rule
140150
141151
## NOTES
142152

0 commit comments

Comments
 (0)