Skip to content

Commit a765c78

Browse files
authored
Upload targeting policy
1 parent 5b5d64c commit a765c78

3 files changed

+391
-0
lines changed

Get-CsTeamsTargetingPolicy 1.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
external help file: MicrosoftTeams-help.xml
3+
Module Name: MicrosoftTeams
4+
online version: https://learn.microsoft.com/powershell/module/teams/get-csteamsshiftsconnectionwfmuser
5+
schema: 2.0.0
6+
---
7+
8+
# Get-CsTeamsTargetingPolicy
9+
10+
## SYNOPSIS
11+
The CsTeamsTargetingPolicy cmdlets enable administrators to control the type of Tenant tag setting that users can create or the features that they can access while in a meeting. It also helps determine how meetings deal with anonymous or external users.
12+
13+
## SYNTAX
14+
15+
### Identity (Default)
16+
```
17+
Get-CsTeamsTargetingPolicy [[-Identity] <String>] [-MsftInternalProcessingMode <String>] [<CommonParameters>]
18+
```
19+
20+
### Filter
21+
```
22+
Get-CsTeamsTargetingPolicy [-MsftInternalProcessingMode <String>] [-Filter <String>] [<CommonParameters>]
23+
```
24+
25+
## DESCRIPTION
26+
The CsTeamsTargetingPolicy cmdlets enable administrators to control the type of tags that users can create or the features that they can access in Teams. It also helps determine how tags deal with Teams members or guest users.
27+
28+
The Get-CsTeamsTargetingPolicy cmdlet enables you to return information about all the Tenant tag setting policies that have been configured for use in your organization.
29+
30+
## EXAMPLES
31+
32+
### Example 1
33+
```powershell
34+
PS C:\> Get-CsTeamsTargetingPolicy -Identity SalesPolicy
35+
```
36+
37+
In this example Get-CsTeamsTargetingPolicy is used to return the per-tenant tag policy that has an Identity SalesPolicy. Because identities are unique, this command will never return more than one item.
38+
39+
## PARAMETERS
40+
41+
### -Filter
42+
Enables you to use wildcard characters when indicating the policy (or policies) to be returned.
43+
44+
```yaml
45+
Type: String
46+
Parameter Sets: Filter
47+
Aliases:
48+
49+
Required: False
50+
Position: Named
51+
Default value: None
52+
Accept pipeline input: False
53+
Accept wildcard characters: False
54+
```
55+
56+
### -Identity
57+
Unique identifier of the policy to be returned. To refer to the global policy, use this syntax: -Identity global. To refer to a per-tenant policy, use syntax similar to this: -Identity SalesDepartmentPolicy. If this parameter is omitted, then all the tenant tag setting policies configured for use in your organization will be returned.
58+
59+
```yaml
60+
Type: String
61+
Parameter Sets: Identity
62+
Aliases:
63+
64+
Required: False
65+
Position: 1
66+
Default value: None
67+
Accept pipeline input: False
68+
Accept wildcard characters: False
69+
```
70+
71+
### -MsftInternalProcessingMode
72+
For Internal use only.
73+
74+
```yaml
75+
Type: String
76+
Parameter Sets: (All)
77+
Aliases:
78+
79+
Required: False
80+
Position: Named
81+
Default value: None
82+
Accept pipeline input: False
83+
Accept wildcard characters: False
84+
```
85+
86+
### CommonParameters
87+
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).
88+
89+
## INPUTS
90+
91+
### None
92+
93+
## OUTPUTS
94+
95+
### System.Object
96+
## NOTES
97+
98+
## RELATED LINKS

Remove-CsTeamsTargetingPolicy 1.md

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
---
2+
external help file: MicrosoftTeams-help.xml
3+
Module Name: MicrosoftTeams
4+
online version: https://learn.microsoft.com/powershell/module/teams/remove-csteamsshiftsschedulerecord
5+
schema: 2.0.0
6+
---
7+
8+
# Remove-CsTeamsTargetingPolicy
9+
10+
## SYNOPSIS
11+
The CsTeamsTargetingPolicy cmdlets removes a previously created CsTeamsTargetingPolicy.
12+
13+
## SYNTAX
14+
15+
```
16+
Remove-CsTeamsTargetingPolicy [-Identity] <String> [-MsftInternalProcessingMode <String>] [-WhatIf] [-Confirm]
17+
[<CommonParameters>]
18+
```
19+
20+
## DESCRIPTION
21+
Deletes a previously created TeamsTargetingPolicy. Any users with no explicitly assigned policies will then fall back to the default policy in the organization.
22+
23+
## EXAMPLES
24+
25+
### Example 1
26+
```powershell
27+
PS C:\> Remove-CsTeamsMeetingPolicy -Identity StudentTagPolicy
28+
```
29+
30+
In the example shown above, the command will delete the student tag policy from the organization's list of policies and remove all assignments of this policy from users who have had the policy assigned.
31+
32+
## PARAMETERS
33+
34+
### -Confirm
35+
Prompts you for confirmation before running the cmdlet.
36+
37+
```yaml
38+
Type: SwitchParameter
39+
Parameter Sets: (All)
40+
Aliases: cf
41+
42+
Required: False
43+
Position: Named
44+
Default value: None
45+
Accept pipeline input: False
46+
Accept wildcard characters: False
47+
```
48+
49+
### -Identity
50+
Unique identifier for the teams meeting policy to be removed. To remove the global policy, use this syntax: -Identity global. (Note that the global policy cannot actually be removed. Instead, all the policy properties will be reset to their default values.) To remove a custom policy, use this syntax: -Identity StudentTagPolicy.
51+
52+
```yaml
53+
Type: String
54+
Parameter Sets: (All)
55+
Aliases:
56+
57+
Required: True
58+
Position: 1
59+
Default value: None
60+
Accept pipeline input: True (ByPropertyName)
61+
Accept wildcard characters: False
62+
```
63+
64+
### -MsftInternalProcessingMode
65+
For Internal use only.
66+
67+
```yaml
68+
Type: String
69+
Parameter Sets: (All)
70+
Aliases:
71+
72+
Required: False
73+
Position: Named
74+
Default value: None
75+
Accept pipeline input: False
76+
Accept wildcard characters: False
77+
```
78+
79+
### -WhatIf
80+
Shows what would happen if the cmdlet runs.
81+
The cmdlet is not run.
82+
83+
```yaml
84+
Type: SwitchParameter
85+
Parameter Sets: (All)
86+
Aliases: wi
87+
88+
Required: False
89+
Position: Named
90+
Default value: None
91+
Accept pipeline input: False
92+
Accept wildcard characters: False
93+
```
94+
95+
### CommonParameters
96+
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).
97+
98+
## INPUTS
99+
100+
### System.String
101+
102+
## OUTPUTS
103+
104+
### System.Object
105+
## NOTES
106+
107+
## RELATED LINKS

Set-CsTeamsTargetingPolicy 1.md

Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
---
2+
external help file: MicrosoftTeams-help.xml
3+
Module Name: MicrosoftTeams
4+
online version: https://learn.microsoft.com/powershell/module/teams/set-csteamsshiftsconnectioninstance
5+
schema: 2.0.0
6+
---
7+
8+
# Set-CsTeamsTargetingPolicy
9+
10+
## SYNOPSIS
11+
The CsTeamsTargetingPolicy cmdlets enable administrators to control the type of tags that users can create or the features that they can access in Teams. It also helps determine how tags deal with Teams members or guest users.
12+
13+
## SYNTAX
14+
15+
```
16+
Set-CsTeamsTargetingPolicy [-CustomTagsMode <String>] [-Description <String>] [[-Identity] <String>]
17+
[-ManageTagsPermissionMode <String>] [-ShiftBackedTagsMode <String>] [-SuggestedPresetTags <String>]
18+
[-TeamOwnersEditWhoCanManageTagsMode <String>] [-MsftInternalProcessingMode <String>] [-WhatIf] [-Confirm]
19+
[<CommonParameters>]
20+
```
21+
22+
## DESCRIPTION
23+
The CsTeamsTargetingPolicy cmdlets enable administrators to control the type of tags that users can create or the features that they can access in Teams. It also helps determine how tags deal with Teams members or guest users.
24+
25+
The Set-CsTeamsTargetingPolicy cmdlet allows administrators to update existing Tenant tag settings that can be assigned to particular teams to control Team features related to tags.
26+
27+
## EXAMPLES
28+
29+
### Example 1
30+
```powershell
31+
PS C:\> Set-CsTeamsTargetingPolicy -Identity NewTagPolicy -CustomTagsMode Enabled
32+
```
33+
34+
The command shown in Example 1 uses the Set-CsTeamsTargetingPolicy cmdlet to update an existing Tenant tag setting with the CustomTagsMode Enabled. This flag will enable Teams users to create tags.
35+
36+
## PARAMETERS
37+
38+
### -Confirm
39+
Prompts you for confirmation before running the cmdlet.
40+
41+
```yaml
42+
Type: SwitchParameter
43+
Parameter Sets: (All)
44+
Aliases: cf
45+
46+
Required: False
47+
Position: Named
48+
Default value: None
49+
Accept pipeline input: False
50+
Accept wildcard characters: False
51+
```
52+
53+
### -CustomTagsMode
54+
Determine whether Teams users can create tags in team. Set this to Enabled to allow users to create new tags. Set this to Disabled to prohibit them from creating new tags.
55+
56+
```yaml
57+
Type: String
58+
Parameter Sets: (All)
59+
Aliases:
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+
Pass in a new description if that field needs to be updated.
70+
71+
```yaml
72+
Type: String
73+
Parameter Sets: (All)
74+
Aliases:
75+
76+
Required: False
77+
Position: Named
78+
Default value: None
79+
Accept pipeline input: False
80+
Accept wildcard characters: False
81+
```
82+
83+
### -Identity
84+
Name of the policy instance to be updated.
85+
86+
```yaml
87+
Type: String
88+
Parameter Sets: (All)
89+
Aliases:
90+
91+
Required: False
92+
Position: 1
93+
Default value: None
94+
Accept pipeline input: False
95+
Accept wildcard characters: False
96+
```
97+
98+
### -ManageTagsPermissionMode
99+
Determine whether team users can manage tag settings in Teams. Set this to EnabledTeamOwner to only allow Teams owners to manage tag settings in current Teams. Set this to EnabledTeamOwnerMember to allow Teams owners and Teams members to manage tag settings in current Teams. Set this to EnabledTeamOwnerMemberGuest to allow Teams owners, Teams members and guest users to manage tag settings in current Teams. Set this to MicrosoftDefault to user default setting in current Teams, which will be the same as EnabledTeamOwner. Set this to Disabled to prohibit all users from managing tag settings in current Teams.
100+
101+
```yaml
102+
Type: String
103+
Parameter Sets: (All)
104+
Aliases:
105+
106+
Required: False
107+
Position: Named
108+
Default value: None
109+
Accept pipeline input: False
110+
Accept wildcard characters: False
111+
```
112+
113+
### -MsftInternalProcessingMode
114+
For Internal use only.
115+
116+
```yaml
117+
Type: String
118+
Parameter Sets: (All)
119+
Aliases:
120+
121+
Required: False
122+
Position: Named
123+
Default value: None
124+
Accept pipeline input: False
125+
Accept wildcard characters: False
126+
```
127+
128+
### -ShiftBackedTagsMode
129+
Determine whether Teams can have tags created by Shift App. Set this to Enabled to allow tags created by Shift App. Set this to Disabled to prohibit tags from Shift App.
130+
131+
```yaml
132+
Type: String
133+
Parameter Sets: (All)
134+
Aliases:
135+
136+
Required: False
137+
Position: Named
138+
Default value: None
139+
Accept pipeline input: False
140+
Accept wildcard characters: False
141+
```
142+
143+
### -TeamOwnersEditWhoCanManageTagsMode
144+
Determine whether Teams owners can change Tenant tag settings. Set this to Enabled to allow Teams owners to change Tenant tag settings for current Teams. Set this to Disabled to prohibit them from changing Tenant tag settings.
145+
146+
```yaml
147+
Type: String
148+
Parameter Sets: (All)
149+
Aliases:
150+
151+
Required: False
152+
Position: Named
153+
Default value: None
154+
Accept pipeline input: False
155+
Accept wildcard characters: False
156+
```
157+
158+
### -WhatIf
159+
Shows what would happen if the cmdlet runs.
160+
The cmdlet is not run.
161+
162+
```yaml
163+
Type: SwitchParameter
164+
Parameter Sets: (All)
165+
Aliases: wi
166+
167+
Required: False
168+
Position: Named
169+
Default value: None
170+
Accept pipeline input: False
171+
Accept wildcard characters: False
172+
```
173+
174+
### CommonParameters
175+
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).
176+
177+
## INPUTS
178+
179+
### None
180+
181+
## OUTPUTS
182+
183+
### System.Object
184+
## NOTES
185+
186+
## RELATED LINKS

0 commit comments

Comments
 (0)