Skip to content

Commit e3f549b

Browse files
authored
Add Properties parameter to Get-CsOnlineUser cmdlet
1 parent 081312b commit e3f549b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,28 @@ Default value: None
189189
Accept pipeline input: False
190190
Accept wildcard characters: False
191191
```
192+
193+
### -Properties
194+
195+
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.
196+
197+
Examples:
198+
- Get-CsOnlineUser -Properties DisplayName, UserPrincipalName, FeatureTypes
199+
- Get-CsOnlineUser -Properties DisplayName, Alias, LineURI
200+
201+
```yaml
202+
Type: String
203+
Parameter Sets: (All)
204+
Aliases:
205+
applicable: Microsoft Teams
206+
207+
Required: False
208+
Position: Named
209+
Default value: None
210+
Accept pipeline input: False
211+
Accept wildcard characters: False
212+
```
213+
192214
### -ResultSize
193215

194216
**Note**: Starting with Teams PowerShell Modules version 4.0 and later, "-ResultSize" type has been changed to uint32.
@@ -297,6 +319,14 @@ A recent fix has addressed an issue where some Guest users were being omitted fr
297319
- Conferencing_RequiresCommunicationCredits: Allows pay-per minute Audio Conferencing without monthly licenses.
298320
- CommunicationCredits: Enables users to pay Teams calling and conferencing through the credits.
299321

322+
**Updates in Teams PowerShell Module version 6.9.0 and later**:
323+
324+
Adds new attribute in the output of Get-CsOnlineUser cmdlet in commercial environments.
325+
- 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'.
326+
327+
Adds new parameter to the Get-CsOnlineUser cmdlet in all clouds:
328+
- 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.
329+
300330
**Updates in Teams PowerShell Module version 6.8.0 and later**:
301331

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

0 commit comments

Comments
 (0)