Skip to content

Commit 7499a17

Browse files
committed
Update Set-CsUser.md
Minor formatting updates to attempt to clear repo Warning errors
1 parent f04bca9 commit 7499a17

File tree

1 file changed

+21
-37
lines changed

1 file changed

+21
-37
lines changed

skype/skype-ps/skype/Set-CsUser.md

Lines changed: 21 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ Modifies Skype for Business properties for an existing user account.
1717
Properties can be modified only for accounts that have been enabled for use with Skype for Business.
1818
This cmdlet was introduced in Lync Server 2010.
1919

20-
**Note**: Using this cmdlet for Microsoft Teams users will be deprecated. Use the new [Set-CsPhoneNumberAssignment](/powershell/module/teams/set-csphonenumberassignment)
21-
and [Remove-CsPhoneNumberAssignment](/powershell/module/teams/remove-csphonenumberassignment) cmdlets instead. The new cmdlets are currently not supported for customers and tenants
22-
that are or have been enabled for Regionally Hosted Meetings for Skype for Business Online. These customers should continue to use Set-CsUser.
20+
**Note**: Using this cmdlet for Microsoft Teams users will be deprecated. Use the new [Set-CsPhoneNumberAssignment](/powershell/module/teams/set-csphonenumberassignment) and [Remove-CsPhoneNumberAssignment](/powershell/module/teams/remove-csphonenumberassignment) cmdlets instead. The new cmdlets are currently not supported for customers and tenants that are or have been enabled for Regionally Hosted Meetings for Skype for Business Online. These customers should continue to use Set-CsUser.
2321

2422
## SYNTAX
2523

@@ -33,20 +31,19 @@ Set-CsUser [-DomainController <Fqdn>] [-Identity] <UserIdParameter> [-PassThru]
3331
```
3432

3533
## DESCRIPTION
36-
The `Set-CsUser` cmdlet enables you to modify the Skype for Business related user account attributes that are stored in Active Directory Domain Services or modify a subset of Skype for Business online user attributes that are stored in Azure Active Directory.
37-
For example, you can disable or re-enable a user for Skype for Business Server; enable or disable a user for audio/video (A/V) communications; or modify a user's private line and line URI numbers. For Skype for Business online enable or disable a user for enterprise voice, hosted voicemail, or modify the user's on premise line uri.
34+
The `Set-CsUser` cmdlet enables you to modify the Skype for Business related user account attributes that are stored in Active Directory Domain Services or modify a subset of Skype for Business online user attributes that are stored in Azure Active Directory.
35+
For example, you can disable or re-enable a user for Skype for Business Server; enable or disable a user for audio/video (A/V) communications; or modify a user's private line and line URI numbers. For Skype for Business online enable or disable a user for enterprise voice, hosted voicemail, or modify the user's on premise line uri.
3836
The `Set-CsUser` cmdlet can be used only for users who have been enabled for Skype for Business.
3937

4038
The only attributes you can modify using the `Set-CsUser` cmdlet are attributes related to Skype for Business.
4139
Other user account attributes, such as the user's job title or department, cannot be modified by using this cmdlet.
4240
Keep in mind, however, that the Skype for Business attributes should only be modified by using the `Set-CsUser` cmdlet or the Skype for Business Server Control Panel.
4341
You should not attempt to manually configure these attributes.
4442

45-
4643
## EXAMPLES
4744

4845
### -------------------------- Example 1 --------------------------
49-
```
46+
```powershell
5047
Set-CsUser -Identity "Pilar Ackerman" -EnterpriseVoiceEnabled $True
5148
```
5249

@@ -56,7 +53,7 @@ This task is carried out by adding the EnterpriseVoiceEnabled parameter, and the
5653

5754

5855
### -------------------------- Example 2 --------------------------
59-
```
56+
```powershell
6057
Get-CsUser -LdapFilter "Department=Finance" | Set-CsUser -EnterpriseVoiceEnabled $True
6158
```
6259

@@ -65,7 +62,7 @@ In this command, the `Get-CsUser` cmdlet and the LdapFilter parameter are first
6562
That information is then piped to the `Set-CsUser` cmdlet, which enables Enterprise Voice for each account in the collection.
6663

6764
### -------------------------- Example 3 --------------------------
68-
```
65+
```powershell
6966
Set-CsUser -Identity "Pilar Ackerman" -LineUri "tel:+123456789"
7067
```
7168

@@ -82,11 +79,10 @@ User Identities can also be referenced by using the user's Active Directory dist
8279
You can use the asterisk (*) wildcard character when using the display name as the user Identity.
8380
For example, the Identity "Smith" returns all the users who have a display name that ends with the string value " Smith".
8481

85-
8682
```yaml
8783
Type: UserIdParameter
8884
Parameter Sets: (All)
89-
Aliases:
85+
Aliases:
9086
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Online, Skype for Business Server 2015, Skype for Business Server 2019
9187

9288
Required: True
@@ -104,11 +100,10 @@ You cannot disable A/V communications if a user is currently enabled for remote
104100
105101
**Note**: This parameter is not available for Teams Only tenants from version 3.0.0 onwards.
106102
107-
108103
```yaml
109104
Type: Boolean
110105
Parameter Sets: (All)
111-
Aliases:
106+
Aliases:
112107
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
113108

114109
Required: False
@@ -127,7 +122,6 @@ If you later re-enable the account by using the Enabled parameter, the associate
127122
This differs from using the `Disable-CsUser` cmdlet to disable a user account.
128123
When you run the `Disable-CsUser` cmdlet, all the Skype for Business Server data associated with that account is deleted.
129124

130-
131125
```yaml
132126
Type: Boolean
133127
Parameter Sets: (All)
@@ -145,11 +139,10 @@ Accept wildcard characters: False
145139
Enables you to specify a domain controller to connect to when modifying a user account.
146140
If this parameter is not included then the cmdlet will use the first available domain controller.
147141

148-
149142
```yaml
150143
Type: Fqdn
151144
Parameter Sets: (All)
152-
Aliases:
145+
Aliases:
153146
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
154147
155148
Required: False
@@ -168,7 +161,7 @@ With Enterprise Voice, users can make telephone calls using the Internet rather
168161
```yaml
169162
Type: Boolean
170163
Parameter Sets: (All)
171-
Aliases:
164+
Aliases:
172165
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Online, Skype for Business Server 2015, Skype for Business Server 2019
173166
174167
Required: False
@@ -187,7 +180,7 @@ In addition, setting this option to True enables Skype for Business users to dir
187180
```yaml
188181
Type: Boolean
189182
Parameter Sets: (All)
190-
Aliases:
183+
Aliases:
191184
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Online, Skype for Business Server 2015, Skype for Business Server 2019
192185
193186
Required: False
@@ -209,13 +202,12 @@ This is due to the fact that, depending on your setup, those two numbers could a
209202
For example, in some organizations dialing 1-425-555-1297 routes your call to an Exchange Auto Attendant.
210203
Conversely, dialing just the extension (51297) or using Skype for Business to dial the number 1-425-555-1297 extension 51297 will route your call directly to the user.
211204

212-
Note: Extension should be part of the E164 Number. For example if you have 5 digit Extensions then the last 5 digits of the E164 Number should always match the 5 digit extension TEL:+14255551297;ext=51297
213-
205+
Note: Extension should be part of the E164 Number. For example if you have 5 digit Extensions then the last 5 digits of the E164 Number should always match the 5 digit extension TEL:+14255551297;ext=51297
214206

215207
```yaml
216208
Type: String
217209
Parameter Sets: (All)
218-
Aliases:
210+
Aliases:
219211
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
220212
221213
Required: False
@@ -230,11 +222,10 @@ The URI of the remote call control telephone gateway assigned to the user.
230222
The LineServerUri is the gateway URI, prefaced by "sip:".
231223
For example: sip:[email protected]
232224

233-
234225
```yaml
235226
Type: String
236227
Parameter Sets: (All)
237-
Aliases:
228+
Aliases:
238229
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
239230
240231
Required: False
@@ -253,11 +244,10 @@ Private lines are often used for personal phone calls or for business calls that
253244
The private line value should be specified using the E.164 format, and be prefixed by the "TEL:" prefix.
254245
For example: TEL:+14255551297.
255246

256-
257247
```yaml
258248
Type: String
259249
Parameter Sets: (All)
260-
Aliases:
250+
Aliases:
261251
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
262252
263253
Required: False
@@ -277,11 +267,10 @@ For details, see the parameter EnterpriseVoiceEnabled.
277267

278268
To be enabled for remote call control, a user must have both a LineUri and a LineServerUri.
279269

280-
281270
```yaml
282271
Type: Boolean
283272
Parameter Sets: (All)
284-
Aliases:
273+
Aliases:
285274
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
286275
287276
Required: False
@@ -295,11 +284,10 @@ Accept wildcard characters: False
295284
Unique identifier (similar to an email address) that allows the user to communicate using SIP devices such as Skype for Business.
296285
The SIP address must use the sip: prefix as well as a valid SIP domain; for example: `-SipAddress sip:[email protected]`.
297286

298-
299287
```yaml
300288
Type: String
301289
Parameter Sets: (All)
302-
Aliases:
290+
Aliases:
303291
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
304292
305293
Required: False
@@ -315,11 +303,10 @@ By default, the `Set-CsUser` cmdlet does not pass objects through the pipeline.
315303

316304
**Note**: This parameter is not available for Teams Only tenants from version 3.0.0 onwards.
317305

318-
319306
```yaml
320307
Type: SwitchParameter
321308
Parameter Sets: (All)
322-
Aliases:
309+
Aliases:
323310
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
324311
325312
Required: False
@@ -365,11 +352,10 @@ Accept wildcard characters: False
365352
Enables you to assign one or more third-party audio conferencing providers to a user.
366353
However, it is recommended that you use the `Set-CsUserAcp` cmdlet to assign Audio conferencing providers.
367354

368-
369355
```yaml
370356
Type: AcpInfo
371357
Parameter Sets: (All)
372-
Aliases:
358+
Aliases:
373359
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
374360
375361
Required: False
@@ -391,11 +377,10 @@ ArchivingToExchange
391377

392378
NoArchiving
393379

394-
395380
```yaml
396381
Type: ExchangeArchivingPolicyOptionsEnum
397382
Parameter Sets: (All)
398-
Aliases:
383+
Aliases:
399384
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
400385
401386
Required: False
@@ -422,7 +407,7 @@ Conversely, dialing just the extension (51297) or using Skype for Business to di
422407
```yaml
423408
Type: String
424409
Parameter Sets: (All)
425-
Aliases:
410+
Aliases:
426411
Applicable: Skype for Business Online
427412
428413
Required: False
@@ -460,4 +445,3 @@ The `Set-CsUser` cmdlet does not return any objects.
460445
[Move-CsUser](Move-CsUser.md)
461446

462447
[Get-CsOnlineUser](Get-CsOnlineUser.md)
463-

0 commit comments

Comments
 (0)