Skip to content

Commit 08c9eb5

Browse files
author
Will Ehrich
committed
Get-AzureRmNetworkSecurityGroup.md
1 parent 8b18fce commit 08c9eb5

File tree

1 file changed

+38
-8
lines changed

1 file changed

+38
-8
lines changed

src/ResourceManager/Network/Commands.Network/help/Get-AzureRmNetworkSecurityGroup.md

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ Gets a network security group.
1616
### NoExpand
1717
```
1818
Get-AzureRmNetworkSecurityGroup [-Name <String>] [-ResourceGroupName <String>]
19-
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
19+
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2020
```
2121

2222
### Expand
2323
```
2424
Get-AzureRmNetworkSecurityGroup -Name <String> -ResourceGroupName <String> -ExpandResource <String>
25-
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
25+
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2626
```
2727

2828
## DESCRIPTION
@@ -43,7 +43,7 @@ This command returns contents of Azure network security group "nsg1" in resource
4343
The credentials, account, tenant, and subscription used for communication with azure.
4444

4545
```yaml
46-
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
46+
Type: IAzureContextContainer
4747
Parameter Sets: (All)
4848
Aliases: AzureRmContext, AzureCredential
4949

@@ -56,7 +56,7 @@ Accept wildcard characters: False
5656
5757
### -ExpandResource
5858
```yaml
59-
Type: System.String
59+
Type: String
6060
Parameter Sets: Expand
6161
Aliases:
6262

@@ -71,7 +71,7 @@ Accept wildcard characters: False
7171
Specifies the name of the network security group that this cmdlet gets.
7272
7373
```yaml
74-
Type: System.String
74+
Type: String
7575
Parameter Sets: NoExpand
7676
Aliases: ResourceName
7777

@@ -83,7 +83,7 @@ Accept wildcard characters: False
8383
```
8484
8585
```yaml
86-
Type: System.String
86+
Type: String
8787
Parameter Sets: Expand
8888
Aliases: ResourceName
8989

@@ -98,7 +98,7 @@ Accept wildcard characters: False
9898
Specifies the name of the resource group that the network security group belongs to.
9999
100100
```yaml
101-
Type: System.String
101+
Type: String
102102
Parameter Sets: NoExpand
103103
Aliases:
104104

@@ -110,7 +110,7 @@ Accept wildcard characters: False
110110
```
111111
112112
```yaml
113-
Type: System.String
113+
Type: String
114114
Parameter Sets: Expand
115115
Aliases:
116116

@@ -121,6 +121,36 @@ Accept pipeline input: True (ByPropertyName)
121121
Accept wildcard characters: False
122122
```
123123
124+
### -Confirm
125+
Prompts you for confirmation before running the cmdlet.
126+
127+
```yaml
128+
Type: SwitchParameter
129+
Parameter Sets: (All)
130+
Aliases: cf
131+
132+
Required: False
133+
Position: Named
134+
Default value: None
135+
Accept pipeline input: False
136+
Accept wildcard characters: False
137+
```
138+
139+
### -WhatIf
140+
Shows what would happen if the cmdlet runs. The cmdlet is not run.
141+
142+
```yaml
143+
Type: SwitchParameter
144+
Parameter Sets: (All)
145+
Aliases: wi
146+
147+
Required: False
148+
Position: Named
149+
Default value: None
150+
Accept pipeline input: False
151+
Accept wildcard characters: False
152+
```
153+
124154
### CommonParameters
125155
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
126156

0 commit comments

Comments
 (0)