Skip to content

Commit 0dad3ac

Browse files
Merge pull request #11791 from praspatil05/patch-6
Update Get-CsOnlineUser.md with missing parameters
2 parents e4e8737 + dad112b commit 0dad3ac

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

teams/teams-ps/teams/Get-CsOnlineUser.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Get-CsOnlineUser [[-Identity] <UserIdParameter>]
2929
[-OU <OUIdParameter>]
3030
[-ResultSize <Unlimited>]
3131
[-SkipUserPolicies]
32+
[-SoftDeletedUser]
3233
[-Sort]
3334
[-UnassignedUser]
3435
[-UsePreferredDC]
@@ -494,6 +495,23 @@ Accept pipeline input: False
494495
Accept wildcard characters: False
495496
```
496497

498+
### -SoftDeletedUser
499+
500+
This parameter enables you to return a collection of all the users who are deleted and can be restored within 30 days from their deletion time
501+
502+
```yaml
503+
Type: SwitchParameter
504+
Parameter Sets: (All)
505+
Aliases:
506+
applicable: Microsoft Teams
507+
508+
Required: False
509+
Position: Named
510+
Default value: None
511+
Accept pipeline input: False
512+
Accept wildcard characters: False
513+
```
514+
497515
### -Sort
498516

499517
Sorting will now be enabled in Teams PowerShell Module 5.9.0 and later by using the "-Sort" or "-OrderBy" parameters in GCC High and DoD environments. These updates will be applicable to older Teams PowerShell versions starting from 15th March 2024 in GCC High and DoD environments(note that this parameter is already rolled out in commercial environments). For example:
@@ -506,7 +524,7 @@ Sorting will now be enabled in Teams PowerShell Module 5.9.0 and later by using
506524
```yaml
507525
Type: String
508526
Parameter Sets: (All)
509-
Aliases:
527+
Aliases: OrderBy
510528
Applicable: Microsoft Teams
511529
512530
Required: False

0 commit comments

Comments
 (0)