Skip to content

Commit 4b39893

Browse files
Merge pull request #12541 from MicrosoftDocs/main
Publish main to live, 02/24/25, 10:30 AM PT
2 parents b195fe6 + c7bf0a6 commit 4b39893

File tree

1 file changed

+30
-17
lines changed

1 file changed

+30
-17
lines changed

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

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ Returns information about users who have accounts homed on Microsoft Teams or Sk
2121
Get-CsOnlineUser [[-Identity] <UserIdParameter>]
2222
[-AccountType <String>]
2323
[-Filter <String>]
24+
[-Properties <String>]
2425
[-ResultSize <Unlimited>]
2526
[-SkipUserPolicies]
2627
[-SoftDeletedUser]
2728
[-Sort]
28-
[-UsePreferredDC]
2929
[<CommonParameters>]
3030
```
3131

@@ -191,6 +191,27 @@ Accept pipeline input: False
191191
Accept wildcard characters: False
192192
```
193193

194+
### -Properties
195+
196+
Allows you to specify the properties you want to include in the output. Provide the properties as a comma-separated list. Identity, UserPrincipalName, Alias, AccountEnabled and DisplayName attributes will always be present in the output. Please note that only attributes available in the output of the Get-CsOnlineUser cmdlet can be selected. For a complete list of available attributes, refer to the response of the Get-CsOnlineUser cmdlet.
197+
198+
Examples:
199+
- Get-CsOnlineUser -Properties DisplayName, UserPrincipalName, FeatureTypes
200+
- Get-CsOnlineUser -Properties DisplayName, Alias, LineURI
201+
202+
```yaml
203+
Type: String
204+
Parameter Sets: (All)
205+
Aliases:
206+
applicable: Microsoft Teams
207+
208+
Required: False
209+
Position: Named
210+
Default value: None
211+
Accept pipeline input: False
212+
Accept wildcard characters: False
213+
```
214+
194215
### -ResultSize
195216

196217
**Note**: Starting with Teams PowerShell Modules version 4.0 and later, "-ResultSize" type has been changed to uint32.
@@ -267,22 +288,6 @@ Accept pipeline input: False
267288
Accept wildcard characters: False
268289
```
269290

270-
### -UsePreferredDC
271-
272-
Reserved for Microsoft internal use.
273-
274-
```yaml
275-
Type: SwitchParameter
276-
Parameter Sets: (All)
277-
Aliases:
278-
279-
Required: False
280-
Position: Named
281-
Default value: False
282-
Accept pipeline input: False
283-
Accept wildcard characters: False
284-
```
285-
286291
### CommonParameters
287292
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
288293

@@ -315,6 +320,14 @@ A recent fix has addressed an issue where some Guest users were being omitted fr
315320
- Conferencing_RequiresCommunicationCredits: Allows pay-per minute Audio Conferencing without monthly licenses.
316321
- CommunicationCredits: Enables users to pay Teams calling and conferencing through the credits.
317322

323+
**Updates in Teams PowerShell Module version 6.9.0 and later**:
324+
325+
Adds new attribute in the output of Get-CsOnlineUser cmdlet in commercial environments.
326+
- TelephoneNumbers: A new list of complex object that includes telephone number and its corresponding assignment category. The assignment category can include values such as 'Primary', 'Private', and 'Alternate'.
327+
328+
Adds new parameter to the Get-CsOnlineUser cmdlet in all clouds:
329+
- Properties: Allows you to specify the properties you want to include in the output. Provide the properties as a comma-separated list. Note that the following properties will always be present in the output: Identity, UserPrincipalName, Alias, AccountEnabled, DisplayName.
330+
318331
**Updates in Teams PowerShell Module version 6.8.0 and later**:
319332

320333
New policies - TeamsBYODAndDesksPolicy, TeamsAIPolicy, TeamsWorkLocationDetectionPolicy, TeamsMediaConnectivityPolicy, TeamsMeetingTemplatePermissionPolicy, TeamsVirtualAppointmentsPolicy and TeamsWorkLoadPolicy will be visible in the Get-CsOnlineUser cmdlet output.

0 commit comments

Comments
 (0)