Skip to content

Commit 0182e98

Browse files
committed
Formatting and general clean-up
1 parent 58b3dfa commit 0182e98

6 files changed

+482
-325
lines changed

teams/teams-ps/teams/New-CsTeamsAppSetupPolicy.md

Lines changed: 65 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,19 @@ Apps are pinned to the app bar. This is the bar on the side of the Teams desktop
2323
## SYNTAX
2424

2525
```
26-
New-CsTeamsAppSetupPolicy [-Description <Object>] [-AppPresetList <Object>] [-WhatIf]
27-
[-PinnedAppBarApps <Object>] [-PinnedCallingBarApps <Object>] [-AllowUserPinning <Object>] [-Confirm] [[-Identity] <Object>] [-Tenant <Object>]
28-
[-InMemory] [-AllowSideLoading <Object>] [-Force] [-AsJob]
26+
New-CsTeamsAppSetupPolicy [-Identity] <String>
27+
[-AllowSideLoading <Boolean>]
28+
[-AllowUserPinning <Boolean>]
29+
[-AppPresetList <Microsoft.Teams.Policy.Administration.Cmdlets.Core.AppPreset[]>]
30+
[-Confirm]
31+
[-Description <String>]
32+
[-Force]
33+
[-PinnedAppBarApps <Microsoft.Teams.Policy.Administration.Cmdlets.Core.PinnedApp[]>]
34+
[-PinnedCallingBarApps <Microsoft.Teams.Policy.Administration.Cmdlets.Core.PinnedCallingBarApp[]>]
35+
[-PinnedMessageBarApps <Microsoft.Teams.Policy.Administration.Cmdlets.Core.PinnedMessageBarApp[]>]
36+
[-Tenant <System.Guid>]
37+
[-WhatIf]
38+
[<CommonParameters>]
2939
```
3040

3141
## DESCRIPTION
@@ -63,6 +73,7 @@ $PinnedAppBarApps = @($ActivityApp,$ChatApp,$TeamsApp)
6373
# Settings to pin these apps to the app bar in Teams client.
6474
New-CsTeamsAppSetupPolicy -Identity (Get-Date -Format FileDateTimeUniversal) -AllowUserPinning $true -PinnedAppBarApps $PinnedAppBarApps
6575
```
76+
6677
Create a new TeamsAppSetupPolicy and pin ActivityApp, ChatApp, TeamsApp apps to the app bar in Teams client by setting these apps as PinnedAppBarApps.
6778

6879
### Example 4
@@ -74,6 +85,7 @@ $PinnedMessageBarApps = @($VivaConnectionsApp)
7485
# Settings to pin these apps to the messaging extension in Teams client.
7586
Set-CsTeamsAppSetupPolicy -Identity (Get-Date -Format FileDateTimeUniversal) -AllowUserPinning $true -PinnedMessageBarApps $PinnedMessageBarApps
7687
```
88+
7789
Create a new TeamsAppSetupPolicy and pin VivaConnections app to the messaging extension in Teams client by setting these apps as PinnedMessageBarApps.
7890

7991
### Example 5
@@ -85,35 +97,36 @@ $AppPresetList = @($VivaConnectionsApp)
8597
# Settings to install these apps in your users' personal Teams environment
8698
Set-CsTeamsAppSetupPolicy -Identity (Get-Date -Format FileDateTimeUniversal) -AllowSideLoading $true -AppPresetList $AppPresetList
8799
```
100+
88101
Create a new TeamsAppSetupPolicy and install VivaConnections App in users' personal Teams environment by setting these apps as AppPresetList.
89102

90103
## PARAMETERS
91104

92-
### -Description
93-
Description of the app setup policy.
105+
### -Identity
106+
Name of App setup policy. If empty, all Identities will be used by default.
94107

95108
```yaml
96109
Type: String
97-
Parameter Sets: (All)
110+
Parameter Sets: Identity
98111
Aliases:
99112

100113
Required: False
101-
Position: Named
114+
Position: 1
102115
Default value: None
103116
Accept pipeline input: False
104117
Accept wildcard characters: False
105118
```
106119
107-
### -Identity
108-
Name of App setup policy. If empty, all Identities will be used by default.
120+
### -AllowSideLoading
121+
This is also known as side loading. This setting determines if a user can upload a custom app package in the Teams app. Turning it on lets you create or develop a custom app to be used personally or across your organization without having to submit it to the Teams app store. Uploading a custom app also lets you test an app before you distribute it more widely by only assigning it to a single user or group of users.
109122
110123
```yaml
111-
Type: XdsIdentity
112-
Parameter Sets: Identity
124+
Type: Boolean
125+
Parameter Sets: (All)
113126
Aliases:
114127

115128
Required: False
116-
Position: 1
129+
Position: Named
117130
Default value: None
118131
Accept pipeline input: False
119132
Accept wildcard characters: False
@@ -134,11 +147,41 @@ Accept pipeline input: False
134147
Accept wildcard characters: False
135148
```
136149
137-
### -AllowSideLoading
138-
This is also known as side loading. This setting determines if a user can upload a custom app package in the Teams app. Turning it on lets you create or develop a custom app to be used personally or across your organization without having to submit it to the Teams app store. Uploading a custom app also lets you test an app before you distribute it more widely by only assigning it to a single user or group of users.
150+
### -AppPresetList
151+
Choose which apps and messaging extensions you want to be installed in your users' personal Teams environment and in meetings they create. Users can install other available apps from the Teams app store.
139152
140153
```yaml
141-
Type: Boolean
154+
Type: Microsoft.Teams.Policy.Administration.Cmdlets.Core.AppPreset[]
155+
Parameter Sets: (All)
156+
Aliases:
157+
158+
Required: False
159+
Position: Named
160+
Default value: None
161+
Accept pipeline input: False
162+
Accept wildcard characters: False
163+
```
164+
165+
### -Confirm
166+
Prompts you for confirmation before executing the command.
167+
168+
```yaml
169+
Type: SwitchParameter
170+
Parameter Sets: (All)
171+
Aliases: cf
172+
173+
Required: False
174+
Position: Named
175+
Default value: None
176+
Accept pipeline input: False
177+
Accept wildcard characters: False
178+
```
179+
180+
### -Description
181+
Description of the app setup policy.
182+
183+
```yaml
184+
Type: String
142185
Parameter Sets: (All)
143186
Aliases:
144187

@@ -194,11 +237,11 @@ Accept pipeline input: False
194237
Accept wildcard characters: False
195238
```
196239
197-
### -AppPresetList
198-
Choose which apps and messaging extensions you want to be installed in your users' personal Teams environment and in meetings they create. Users can install other available apps from the Teams app store.
240+
### -Tenant
241+
Do not use.
199242
200243
```yaml
201-
Type: Microsoft.Teams.Policy.Administration.Cmdlets.Core.AppPreset[]
244+
Type: System.Guid
202245
Parameter Sets: (All)
203246
Aliases:
204247

@@ -209,13 +252,13 @@ Accept pipeline input: False
209252
Accept wildcard characters: False
210253
```
211254
212-
### -Tenant
213-
Do not use.
255+
### -WhatIf
256+
Describes what would happen if you executed the command without actually executing the command.
214257
215258
```yaml
216-
Type: System.Guid
259+
Type: SwitchParameter
217260
Parameter Sets: (All)
218-
Aliases:
261+
Aliases: wi
219262

220263
Required: False
221264
Position: Named
@@ -236,7 +279,6 @@ For more information, see about_CommonParameters (https://go.microsoft.com/fwlin
236279
237280
### Microsoft.Teams.Policy.Administration.Cmdlets.Core.PinnedMessageBarApp
238281
239-
240282
## OUTPUTS
241283
242284
### System.Object

0 commit comments

Comments
 (0)