Remove-CsTeamsShiftsScheduleRecord
This cmdlet enqueues the clear schedule message.
Syntax
Remove-CsTeamsShiftsScheduleRecord
-TeamId <String>
[[-DateRangeStartDate] <String>]
-DateRangeEndDate <String>
-ClearSchedulingGroup <Bool>
-EntityType <String[]>
[[-DesignatedActorId] <String>]
[<CommonParameters>]
Description
This cmdlet sends a request of removing Shifts schedule with specified time range.
Examples
Example 1
PS C:\> Remove-CsTeamsShiftsScheduleRecord -TeamId "eddc3b94-21d5-4ef0-a76a-2e4d632e50be" -DateRangeStartDate "2021-09-30T00:00:00" -DateRangeEndDate "2021-10-01T00:00:00" -ClearSchedulingGroup:$false -EntityType "swapRequest", "openShiftRequest" -DesignatedActorId "683af6f2-4f72-4770-b8e1-4ec31836156ad"
Removes the Shifts schedule record of swapRequest and openShiftRequest scenarios in the team with ID eddc3b94-21d5-4ef0-a76a-2e4d632e50be
from 09/30/2021 to 10/01/2021.
Parameters
-ClearSchedulingGroup
A value indicating whether to clear schedule group.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-DateRangeEndDate
The end date of removing schedule record.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-DateRangeStartDate
The start date of removing schedule record.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-DesignatedActorId
The user ID of designated actor.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-EntityType
The entity types.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-TeamId
The Teams team ID where you want to remove schedule record.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
Notes
The parameters of start time, end time and designated actor ID are optional only when removing the schedule record of a linked team.
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示