Skip to content

Commit 7410c4f

Browse files
author
Will Ehrich
committed
Update Set-AzureRmNetworkSecurityGroup.md
1 parent ba3cb3b commit 7410c4f

File tree

1 file changed

+34
-4
lines changed

1 file changed

+34
-4
lines changed

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

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Sets the goal state for a network security group.
1515

1616
```
1717
Set-AzureRmNetworkSecurityGroup -NetworkSecurityGroup <PSNetworkSecurityGroup> [-AsJob]
18-
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
18+
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
1919
```
2020

2121
## DESCRIPTION
@@ -37,7 +37,7 @@ The command persists the modified Azure network security group using **Set-Azure
3737
Run cmdlet in the background
3838

3939
```yaml
40-
Type: System.Management.Automation.SwitchParameter
40+
Type: SwitchParameter
4141
Parameter Sets: (All)
4242
Aliases:
4343

@@ -52,7 +52,7 @@ Accept wildcard characters: False
5252
The credentials, account, tenant, and subscription used for communication with azure.
5353
5454
```yaml
55-
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
55+
Type: IAzureContextContainer
5656
Parameter Sets: (All)
5757
Aliases: AzureRmContext, AzureCredential
5858

@@ -67,7 +67,7 @@ Accept wildcard characters: False
6767
A network security group object representing the goal state to which the cmdlet sets the network security group.
6868
6969
```yaml
70-
Type: Microsoft.Azure.Commands.Network.Models.PSNetworkSecurityGroup
70+
Type: PSNetworkSecurityGroup
7171
Parameter Sets: (All)
7272
Aliases:
7373

@@ -78,6 +78,36 @@ Accept pipeline input: True (ByValue)
7878
Accept wildcard characters: False
7979
```
8080
81+
### -Confirm
82+
Prompts you for confirmation before running the cmdlet.
83+
84+
```yaml
85+
Type: SwitchParameter
86+
Parameter Sets: (All)
87+
Aliases: cf
88+
89+
Required: False
90+
Position: Named
91+
Default value: None
92+
Accept pipeline input: False
93+
Accept wildcard characters: False
94+
```
95+
96+
### -WhatIf
97+
Shows what would happen if the cmdlet runs. The cmdlet is not run.
98+
99+
```yaml
100+
Type: SwitchParameter
101+
Parameter Sets: (All)
102+
Aliases: wi
103+
104+
Required: False
105+
Position: Named
106+
Default value: None
107+
Accept pipeline input: False
108+
Accept wildcard characters: False
109+
```
110+
81111
### CommonParameters
82112
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).
83113

0 commit comments

Comments
 (0)