You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/StaleBranch.yml
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,17 @@ name: (Scheduled) Stale branch removal
2
2
3
3
permissions:
4
4
contents: write
5
-
5
+
6
+
# This workflow is designed to be run in the days up to, and including, a "deletion day", specified by 'DeleteOnDayOfMonth' in env: in https://github.com/MicrosoftDocs/microsoft-365-docs/blob/workflows-prod/.github/workflows/Shared-StaleBranch.yml.
7
+
# On the days leading up to "deletion day", the workflow will report the branches to be deleted. This lets users see which branches will be deleted. On "deletion day", those branches are deleted.
8
+
# The workflow should not be configured to run after "deletion day" so that users can review the branches were deleted.
9
+
# Recommendation: configure cron to run on days 1,15-31 where 1 is what's configured in 'DeleteOnDayOfMonth'. If 'DeleteOnDayOfMonth' is set to something else, update cron to run the two weeks leading up to it.
This parameter is available only in the cloud-based service.
1571
1571
1572
-
{{ Fill ExcludeFromAllOrgHolds Description }}
1572
+
The ExcludeFromAllOrgHolds switch specifies whether to exclude the soft-deleted mail user from all organization-wide Microsoft 365 retention policies. You don't need to specify a value with this switch.
1573
+
1574
+
When you use this switch, use one of the following values to uniquely identify the soft-deleted mail user in the Identity parameter:
This cmdlet allows the admin to get a list of existing tags for telephone numbers.
18
+
19
+
## SYNTAX
20
+
21
+
```
22
+
Get-CsPhoneNumberTag [<CommonParameters>]
23
+
```
24
+
25
+
## DESCRIPTION
26
+
This cmdlet will get a list of all existing tags that are assigned to phone numbers in the tenant.
27
+
28
+
## EXAMPLES
29
+
30
+
### Example 1
31
+
```powershell
32
+
PS C:\> Get-CsPhoneNumberTag
33
+
```
34
+
```output
35
+
TagValue
36
+
HR
37
+
Redmond HQ
38
+
Executives
39
+
```
40
+
41
+
This example shows how to get a list of existing tags for telephone numbers
42
+
43
+
## PARAMETERS
44
+
45
+
### CommonParameters
46
+
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).
This setting governs whether participants can give control of presentation slides during meetings scheduled by this user. Set the type of users you want to be able to give control and be given control of presentation slides in meetings. Users excluded from the selected group will be prohibitted from giving control, or being given control, in a meeting.
300
+
301
+
Possible values are:
302
+
- **Everyone**: Anyone with the join link may enter the event.
303
+
- **EveryoneInOrganization**: Only internal AAD users and Multi-Tenant Organization (MTO) users can give or take control.
304
+
- **EveryoneInOrganizationAndGuests**: Only those who are Guests to the tenant, MTO users, and internal AAD users may enter the event.
305
+
- **None**: No one in the meeting can give or take control.
306
+
307
+
```yaml
308
+
Type: String
309
+
Parameter Sets: (All)
310
+
Aliases:
311
+
312
+
Required: False
313
+
Position: Named
314
+
Default value: EveryoneInOrganization
315
+
Accept pipeline input: False
316
+
Accept wildcard characters: False
317
+
```
318
+
298
319
### -Confirm
299
320
The Confirm switch does not work with this cmdlet.
_This option is not currently available in Queues app._
186
+
_This feature is not currently available to authorized users._
187
187
188
188
When set to `True`, users affected by the policy will be allowed to change the auto attendant's time zone. When set to `False` (the default value), users affected by the policy won't be allowed to change the auto attendant's time zone.
_This option is not currently available in Queues app._
204
+
_This feature is not currently available to authorized users._
205
205
206
206
When set to `True`, users affected by the policy will be allowed to change the auto attendant's language. When set to `False` (the default value), users affected by the policy won't be allowed to change the auto attendant's language.
_This option is not currently available in Queues app._
352
+
_This feature is not currently available to authorized users._
353
353
354
354
When set to `True`, users affected by the policy will be allowed to change the call queue's language. When set to `False` (the default value), users affected by the policy won't be allowed to change the call queue's language.
This cmdlet allows telephone number administrators to remove existing tags from any telephone numbers. This method does not delete the tag from the system if the tag is assigned to other telephone numbers.
This example shows how to remove the tag "HR" from telephone number +123456789.
36
+
37
+
## PARAMETERS
38
+
39
+
### -PhoneNumber
40
+
Indicates the phone number for the the tag to be removed from
41
+
42
+
```yaml
43
+
Type: String
44
+
Parameter Sets: (All)
45
+
Aliases:
46
+
47
+
Required: False
48
+
Position: Named
49
+
Default value: None
50
+
Accept pipeline input: False
51
+
Accept wildcard characters: False
52
+
```
53
+
54
+
### -Tag
55
+
Indicates the tag to be removed.
56
+
57
+
```yaml
58
+
Type: String
59
+
Parameter Sets: (All)
60
+
Aliases:
61
+
62
+
Required: True
63
+
Position: Named
64
+
Default value: None
65
+
Accept pipeline input: False
66
+
Accept wildcard characters: False
67
+
```
68
+
69
+
### CommonParameters
70
+
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).
This cmdlet allows telephone number administrators to create and assign tags to phone numbers. Tags can be up to 50 characters long, including spaces, and can contain multiple words. They are not case-sensitive. Each phone number can have up to 50 tags assigned. To improve readability, it is recommended to avoid assigning too many tags to a single phone number. If the desired tag already exist, the telephone number will get assigned the existing tag. If the tag is not already available, a new tag will be created. [Get-CsPhoneNumberTag](https://learn.microsoft.com/powershell/module/teams/get-csphonenumbertag) can be used to check a list of already existing tags. The tags can be used as a filter for [Get-CsPhoneNumberAssignment](https://learn.microsoft.com/powershell/module/teams/get-csphonenumberassignment) to filter on certain list.
Above example shows how to set a "HR" tag to +123456789 number.
35
+
36
+
## PARAMETERS
37
+
38
+
### -PhoneNumber
39
+
Indicates the phone number for the the tag to be assigned
40
+
41
+
```yaml
42
+
Type: String
43
+
Parameter Sets: (All)
44
+
Aliases:
45
+
46
+
Required: True
47
+
Position: Named
48
+
Default value: None
49
+
Accept pipeline input: False
50
+
Accept wildcard characters: False
51
+
```
52
+
53
+
### -Tag
54
+
Indicates the tag to be assigned or created.
55
+
56
+
```yaml
57
+
Type: String
58
+
Parameter Sets: (All)
59
+
Aliases:
60
+
61
+
Required: True
62
+
Position: Named
63
+
Default value: None
64
+
Accept pipeline input: False
65
+
Accept wildcard characters: False
66
+
```
67
+
68
+
69
+
### CommonParameters
70
+
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).
This setting governs whether participants can give control of presentation slides during meetings scheduled by this user. Set the type of users you want to be able to give control and be given control of presentation slides in meetings. Users excluded from the selected group will be prohibitted from giving control, or being given control, in a meeting.
393
+
394
+
Possible values are:
395
+
- **Everyone**: Anyone with the join link may enter the event.
396
+
- **EveryoneInOrganization**: Only internal AAD users and Multi-Tenant Organization (MTO) users can give or take control.
397
+
- **EveryoneInOrganizationAndGuests**: Only those who are Guests to the tenant, MTO users, and internal AAD users may enter the event.
398
+
- **None**: No one in the meeting can give or take control.
399
+
-
400
+
```yaml
401
+
Type: String
402
+
Parameter Sets: (All)
403
+
Aliases:
404
+
405
+
Required: False
406
+
Position: Named
407
+
Default value: EveryoneInOrganization
408
+
Accept pipeline input: False
409
+
Accept wildcard characters: False
410
+
```
411
+
391
412
### -Confirm
392
413
The Confirm switch does not work with this cmdlet.
0 commit comments