Skip to content

Commit 1ff9dda

Browse files
authored
Fix Identity Parameter for Remove cmdlet
Identity Parameter for Remove-CsTeamsShiftsPolicy cmdlet referrers to the Policy Instance Name (XdsIdentity) that will be removed.
1 parent 56b959c commit 1ff9dda

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

teams/teams-ps/teams/Remove-CsTeamsShiftsPolicy.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ schema: 2.0.0
99

1010
## SYNOPSIS
1111

12-
Remove the TeamsShiftPolicy for a user.
12+
The `Remove-CsTeamsShiftsPolicy` cmdlet removes a previously created TeamsShiftsPolicy.
1313

14-
Note: the command will return immediately, but the Teams application will not reflect the update immediately. The Teams application may need to be open for up to an hour before changes are reflected.
14+
Note: A TeamsShiftsPolicy needs to be unassigned from all the users before it can be deleted.
1515

1616
## SYNTAX
1717

@@ -23,25 +23,25 @@ Remove-CsTeamsShiftsPolicy [-Identity] <XdsIdentity> [<CommonParameters>]
2323

2424
### Example 1
2525
```powershell
26-
PS C:\> Remove-CsTeamsShiftsPolicy -Identity IsaiahL
26+
PS C:\> Remove-CsTeamsShiftsPolicy -Identity OffShiftAccess_WarningMessage1_AlwaysShowMessage
2727
```
2828

29-
In this example, the TeamsShiftsPolicy assigned to the user "IsaiahL" is removed.
29+
In this example, the policy instance to be removed is called "OffShiftAccess_WarningMessage1_AlwaysShowMessage"
3030

3131
## PARAMETERS
3232

3333
### -Identity
34-
UserId or user's email id.
34+
Policy instance name.
3535

3636
```yaml
3737
Type: XdsIdentity
38-
Parameter Sets: (All)
38+
Parameter Sets: Identity
3939
Aliases:
4040
Applicable: Microsoft Teams
41-
Required: True
41+
Required: False
4242
Position: 1
4343
Default value: None
44-
Accept pipeline input: True (ByPropertyName)
44+
Accept pipeline input: False
4545
Accept wildcard characters: False
4646
```
4747

0 commit comments

Comments
 (0)