CmdID / PowerShell / Cmdlets / Get
Get-CsOnlineUser
Returns information about users who have accounts homed on Microsoft Teams or Skype for Business Online. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 8 parameters Its page in the reference
Parameters
-AccountTypeThis parameter is added to Get-CsOnlineUser starting from TPM 4.5.1 to indicate the user type.-FilterEnables you to limit the returned data by filtering on specific attributes.-IdentityIndicates the Identity of the user account to be retrieved.-PropertiesAllows you to specify the properties you want to include in the output.-ResultSizeEnables you to limit the number of records returned by the cmdlet.-SkipUserPoliciesPARAMVALUE: SwitchParameter-SoftDeletedUserThis 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-Sort, -OrderBySorting is now enabled in Teams PowerShell Module by using the "-Sort" or "-OrderBy" parameters.