You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skype/skype-ps/skype/Set-CsUser.md
+21-37Lines changed: 21 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -17,9 +17,7 @@ Modifies Skype for Business properties for an existing user account.
17
17
Properties can be modified only for accounts that have been enabled for use with Skype for Business.
18
18
This cmdlet was introduced in Lync Server 2010.
19
19
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.
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.
38
36
The `Set-CsUser` cmdlet can be used only for users who have been enabled for Skype for Business.
39
37
40
38
The only attributes you can modify using the `Set-CsUser` cmdlet are attributes related to Skype for Business.
41
39
Other user account attributes, such as the user's job title or department, cannot be modified by using this cmdlet.
42
40
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.
43
41
You should not attempt to manually configure these attributes.
44
42
45
-
46
43
## EXAMPLES
47
44
48
45
### -------------------------- Example 1 --------------------------
Enables you to specify a domain controller to connect to when modifying a user account.
146
140
If this parameter is not included then the cmdlet will use the first available domain controller.
147
141
148
-
149
142
```yaml
150
143
Type: Fqdn
151
144
Parameter Sets: (All)
152
-
Aliases:
145
+
Aliases:
153
146
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
154
147
155
148
Required: False
@@ -168,7 +161,7 @@ With Enterprise Voice, users can make telephone calls using the Internet rather
168
161
```yaml
169
162
Type: Boolean
170
163
Parameter Sets: (All)
171
-
Aliases:
164
+
Aliases:
172
165
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Online, Skype for Business Server 2015, Skype for Business Server 2019
173
166
174
167
Required: False
@@ -187,7 +180,7 @@ In addition, setting this option to True enables Skype for Business users to dir
187
180
```yaml
188
181
Type: Boolean
189
182
Parameter Sets: (All)
190
-
Aliases:
183
+
Aliases:
191
184
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Online, Skype for Business Server 2015, Skype for Business Server 2019
192
185
193
186
Required: False
@@ -209,13 +202,12 @@ This is due to the fact that, depending on your setup, those two numbers could a
209
202
For example, in some organizations dialing 1-425-555-1297 routes your call to an Exchange Auto Attendant.
210
203
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.
211
204
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
214
206
215
207
```yaml
216
208
Type: String
217
209
Parameter Sets: (All)
218
-
Aliases:
210
+
Aliases:
219
211
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
220
212
221
213
Required: False
@@ -230,11 +222,10 @@ The URI of the remote call control telephone gateway assigned to the user.
230
222
The LineServerUri is the gateway URI, prefaced by "sip:".
0 commit comments