Skip to content

Commit c1bb451

Browse files
authored
Merge pull request #10989 from navirdee/patch-1
Add description for AllowTownhalls Policy in TeamsEvents Policy
2 parents 22042df + d979e78 commit c1bb451

File tree

2 files changed

+76
-6
lines changed

2 files changed

+76
-6
lines changed

teams/teams-ps/teams/New-CsTeamsEventsPolicy.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This cmdlet allows you to create a new TeamsEventsPolicy instance and set its pr
1414
## SYNTAX
1515

1616
```
17-
New-CsTeamsEventsPolicy [-Identity] <String> [-AllowWebinars <String>] [-Description <String>]
17+
New-CsTeamsEventsPolicy [-Identity] <String> [-AllowWebinars <String>] [-AllowTownhalls <String>] [-Description <String>]
1818
[-EventAccessType <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
1919
```
2020

@@ -47,6 +47,26 @@ Possible values are:
4747

4848

4949

50+
```yaml
51+
Type: String
52+
Parameter Sets: (All)
53+
Aliases:
54+
55+
Required: True
56+
Position: Named
57+
Default value: Enabled
58+
Accept pipeline input: False
59+
Accept wildcard characters: False
60+
```
61+
62+
### -AllowTownhalls
63+
This setting governs if a user can create town halls using Teams Events.
64+
Possible values are:
65+
- **Enabled**: Enables creating town halls.
66+
- **Disabled**: Disables creating town hall.
67+
68+
69+
5070
```yaml
5171
Type: String
5272
Parameter Sets: (All)
@@ -80,7 +100,7 @@ Accept wildcard characters: False
80100
```
81101
82102
### -Confirm
83-
Prompts you for confirmation before running the cmdlet.
103+
The Confirm switch does not work with this cmdlet.
84104
85105
```yaml
86106
Type: SwitchParameter
@@ -127,7 +147,7 @@ Accept wildcard characters: False
127147
```
128148
129149
### -WhatIf
130-
Shows what would happen if the cmdlet runs.
150+
The WhatIf switch does not work with this cmdlet.
131151
The cmdlet is not run.
132152
133153
```yaml

teams/teams-ps/teams/Set-CsTeamsEventsPolicy.md

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This cmdlet allows you to configure options for customizing Teams events experie
1313
## SYNTAX
1414

1515
```
16-
Set-CsTeamsEventsPolicy [-AllowWebinars <String>] [-Description <String>] [-EventAccessType <String>]
16+
Set-CsTeamsEventsPolicy [-AllowWebinars <String>] [-AllowTownhalls <String>] [-Description <String>] [-EventAccessType <String>]
1717
[[-Identity] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
1818
```
1919

@@ -51,7 +51,57 @@ Accept wildcard characters: False
5151
```
5252
5353
### -Confirm
54-
Prompts you for confirmation before running the cmdlet.
54+
The Confirm switch does not work with this cmdlet.
55+
56+
```yaml
57+
Type: SwitchParameter
58+
Parameter Sets: (All)
59+
Aliases: cf
60+
61+
Required: False
62+
Position: Named
63+
Default value: None
64+
Accept pipeline input: False
65+
Accept wildcard characters: False
66+
```
67+
68+
### -Description
69+
Enables administrators to provide explanatory text to accompany a Teams Events policy.
70+
71+
72+
```yaml
73+
Type: String
74+
Parameter Sets: (All)
75+
Aliases:
76+
77+
Required: False
78+
Position: Named
79+
Default value: None
80+
Accept pipeline input: False
81+
Accept wildcard characters: False
82+
```
83+
84+
### -AllowTownhalls
85+
This setting governs if a user can create town halls using Teams Events.
86+
Possible values are:
87+
- **Enabled**: Enables creating town halls.
88+
- **Disabled**: Disables creating town halls.
89+
90+
91+
```yaml
92+
Type: String
93+
Parameter Sets: (All)
94+
Aliases:
95+
96+
Required: False
97+
Position: Named
98+
Default value: None
99+
Accept pipeline input: False
100+
Accept wildcard characters: False
101+
```
102+
103+
### -Confirm
104+
The Confirm switch does not work with this cmdlet.
55105
56106
```yaml
57107
Type: SwitchParameter
@@ -117,7 +167,7 @@ Accept wildcard characters: False
117167
```
118168
119169
### -WhatIf
120-
Shows what would happen if the cmdlet runs.
170+
The WhatIf switch does not work with this cmdlet.
121171
The cmdlet is not run.
122172
123173
```yaml

0 commit comments

Comments
 (0)