Skip to content

Commit 8e26db5

Browse files
authored
Update Get-CsOnlineUser.md
1 parent 6a403f7 commit 8e26db5

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

skype/skype-ps/skype/Get-CsOnlineUser.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,8 +547,21 @@ New attributes have now been introduced in the output of Get-CsOnlineUser when n
547547
- UserValidationErrors
548548
- WhenCreated
549549

550-
Unlicensed Users: Unlicensed users would show up in the output for 30 days post-license removal.
551-
Soft deleted users: These users will be displayed in the output of Get-CsOnlineUser and the TAC Manage Users page by default with SoftDeletionTimestamp set to a value.
550+
The updates below are now applicable to the output in scenarios where "-identity" parameter is not used:
551+
552+
- Only valid OnPrem users would be available in the output: These are users that are DirSyncEnabled and have a valid OnPremSipAddress or SIP address in ShadowProxyAddresses.
553+
- Guest users are now available in the output.
554+
- Unlicensed Users: Unlicensed users would show up in the output for 30 days post-license removal.
555+
- Soft deleted users: These users will be displayed in the output of Get-CsOnlineUser and the TAC Manage Users page by default for 30 days with SoftDeletionTimestamp set to a value.
556+
557+
If any infromation is required for a user that is not available in the output then it can be obtained using the "-identity" parameter. Infromation for all users would be available via point query until they are hard deleted.
558+
559+
If Guest users and SoftDeletedUsers are not required in the output then they can be filtered out by using filter on AccountType and SoftDeletionTimestamp respectively.
560+
```
561+
Example:
562+
- Get-csOnlineUser -Filter {AccountType -ne 'Guest'}
563+
- Get-csOnlineUser -Filter {SoftDeletionTimestamp -eq $null}
564+
```
552565
553566
**Updates in Teams PowerShell Module version 3.0.0 and above**
554567

0 commit comments

Comments
 (0)