Skip to content

Commit 867decf

Browse files
authored
Merge pull request MicrosoftDocs#9869 from dandsm/patch-1
Fix Identity Parameter for Remove cmdlet
2 parents b39f294 + 26248c7 commit 867decf

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

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

Lines changed: 7 additions & 6 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,15 +23,16 @@ 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".
30+
3031

3132
## PARAMETERS
3233

3334
### -Identity
34-
UserId or user's email id.
35+
Policy instance name.
3536

3637
```yaml
3738
Type: XdsIdentity
@@ -41,7 +42,7 @@ Applicable: Microsoft Teams
4142
Required: True
4243
Position: 1
4344
Default value: None
44-
Accept pipeline input: True (ByPropertyName)
45+
Accept pipeline input: False
4546
Accept wildcard characters: False
4647
```
4748

0 commit comments

Comments
 (0)