Skip to content

Commit 9ea59ef

Browse files
authored
Merge pull request #11947 from michbrown-png/patch-1
Update Set-CsApplicationAccessPolicy.md
2 parents c9f6515 + a62284f commit 9ea59ef

File tree

1 file changed

+69
-6
lines changed

1 file changed

+69
-6
lines changed

teams/teams-ps/teams/Set-CsApplicationAccessPolicy.md

Lines changed: 69 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ Modifies an existing application access policy.
1818

1919
## SYNTAX
2020

21-
### Identity
22-
23-
```
24-
Set-CsApplicationAccessPolicy [-Identity <XdsIdentity>] [-AppIds <PSListModifier>]
21+
```powershell
22+
Set-CsApplicationAccessPolicy [-AppIds <Object>] [-Description <String>] [[-Identity] <String>]
23+
[-MsftInternalProcessingMode <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
2524
```
2625

2726
## DESCRIPTION
@@ -32,15 +31,15 @@ This cmdlet modifies an existing application access policy.
3231

3332
### Add new app ID to the policy
3433

35-
```
34+
```powershell
3635
PS C:\> Set-CsApplicationAccessPolicy -Identity "ASimplePolicy" -AppIds @{Add="5817674c-81d9-4adb-bfb2-8f6a442e4622"}
3736
```
3837

3938
The command shown above adds a new app ID "5817674c-81d9-4adb-bfb2-8f6a442e4622" to the per-user application access policy ASimplePolicy.
4039

4140
### Remove app IDs from the policy
4241

43-
```
42+
```powershell
4443
PS C:\> Set-CsApplicationAccessPolicy -Identity "ASimplePolicy" -AppIds @{Remove="5817674c-81d9-4adb-bfb2-8f6a442e4622"}
4544
```
4645

@@ -80,6 +79,70 @@ Accept pipeline input: False
8079
Accept wildcard characters: False
8180
```
8281
82+
### -Confirm
83+
Prompts you for confirmation before running the cmdlet.
84+
85+
```yaml
86+
Type: SwitchParameter
87+
Parameter Sets: (All)
88+
Aliases: cf
89+
90+
Required: False
91+
Position: Named
92+
Default value: None
93+
Accept pipeline input: False
94+
Accept wildcard characters: False
95+
```
96+
97+
### -Description
98+
Free format text.
99+
100+
```yaml
101+
Type: String
102+
Parameter Sets: (All)
103+
Aliases:
104+
105+
Required: False
106+
Position: Named
107+
Default value: None
108+
Accept pipeline input: False
109+
Accept wildcard characters: False
110+
```
111+
112+
### -MsftInternalProcessingMode
113+
For internal use only.
114+
115+
```yaml
116+
Type: String
117+
Parameter Sets: (All)
118+
Aliases:
119+
120+
Required: False
121+
Position: Named
122+
Default value: None
123+
Accept pipeline input: False
124+
Accept wildcard characters: False
125+
```
126+
127+
### -WhatIf
128+
Shows what would happen if the cmdlet runs.
129+
The cmdlet is not run.
130+
131+
```yaml
132+
Type: SwitchParameter
133+
Parameter Sets: (All)
134+
Aliases: wi
135+
136+
Required: False
137+
Position: Named
138+
Default value: None
139+
Accept pipeline input: False
140+
Accept wildcard characters: False
141+
```
142+
143+
### CommonParameters
144+
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).
145+
83146
## INPUTS
84147
85148
## OUTPUTS

0 commit comments

Comments
 (0)