Skip to content

Commit 6fea12d

Browse files
authored
Merge pull request MicrosoftDocs#5878 from dariomws/patch-171
Update UserList and Report parameters description in Move-CsUser.md
2 parents f8a397e + 2d9b935 commit 6fea12d

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

skype/skype-ps/skype/Move-CsUser.md

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ Moves one or more user accounts enabled for Skype for Business Server to a new R
2121
### (Default)
2222

2323
```
24-
Move-CsUser [-Identity] <UserIdParameter> [-Target] <Fqdn> [-Credential <PSCredential>] [-MoveToTeams] [-HostedMigrationOverrideUrl <String>] [-UseOAuth] [-BypassEnterpriseVoiceCheck] [-BypassAudioConferencingCheck] [-TenantAdminUserName] [-ProxyPool <Fqdn>] [-MoveConferenceData] [-UserList <String>] [-Confirm] [-Force] [-PassThru] [-WhatIf] [<CommonParameters>]
24+
Move-CsUser [-Identity] <UserIdParameter> [-Target] <Fqdn> [-Credential <PSCredential>] [-MoveToTeams] [-HostedMigrationOverrideUrl <String>] [-UseOAuth] [-BypassEnterpriseVoiceCheck] [-BypassAudioConferencingCheck] [-TenantAdminUserName] [-ProxyPool <Fqdn>] [-MoveConferenceData] [-Report <String>] [-Confirm] [-Force] [-PassThru] [-WhatIf] [<CommonParameters>]
25+
```
26+
27+
### UserList
28+
29+
```
30+
Move-CsUser -UserList <String> [-Target] <Fqdn> [-Credential <PSCredential>] [-MoveToTeams] [-HostedMigrationOverrideUrl <String>] [-UseOAuth] [-BypassEnterpriseVoiceCheck] [-BypassAudioConferencingCheck] [-TenantAdminUserName] [-ProxyPool <Fqdn>] [-MoveConferenceData] [-Report <String>] [-Confirm] [-Force] [-PassThru] [-WhatIf] [<CommonParameters>]
2531
```
2632

2733
## DESCRIPTION
@@ -36,9 +42,9 @@ The Move-CsUser cmdlet affects only the user's Skype for Business Server account
3642

3743
When moving a user to or from Office 365 (either Skype for Business Online or Teams):
3844

39-
- Skype for Business hybrid must be configured. For more information, see [Deploy hybrid connectivity between Skype for Business Server and Skype for Business Online](https://docs.microsoft.com/en-us/SkypeForBusiness/skype-for-business-hybrid-solutions/deploy-hybrid-connectivity/deploy-hybrid-connectivity).
40-
- To move a user to Office 365, specify the ProxyFqdn of the hosting provider as the Target. In most cases, this is "sipfed.online.lync.com" but in specialized environments there will be variants of this address. For more details, see [Move users between on-premises and cloud](https://docs.microsoft.com/en-us/skypeforbusiness/hybrid/move-users-between-on-premises-and-cloud).
41-
- When migrating from on-premises to the cloud, meetings are migrated from Skype for Business Server to online. If the `MoveToTeams` switch is specified, the meetings will be migrated to Teams meetings. Otherwise, meetings are migrated to Skype for Business Online. Teams-only users can still join meetings hosted in Skype for Business. For details see [Using the Meeting Migration Service (MMS)](https://docs.microsoft.com/en-us/skypeforbusiness/audio-conferencing-in-office-365/setting-up-the-meeting-migration-service-mms).
45+
- Skype for Business hybrid must be configured. For more information, see [Deploy hybrid connectivity between Skype for Business Server and Skype for Business Online](https://docs.microsoft.com/SkypeForBusiness/skype-for-business-hybrid-solutions/deploy-hybrid-connectivity/deploy-hybrid-connectivity).
46+
- To move a user to Office 365, specify the ProxyFqdn of the hosting provider as the Target. In most cases, this is "sipfed.online.lync.com" but in specialized environments there will be variants of this address. For more details, see [Move users between on-premises and cloud](https://docs.microsoft.com/skypeforbusiness/hybrid/move-users-between-on-premises-and-cloud).
47+
- When migrating from on-premises to the cloud, meetings are migrated from Skype for Business Server to online. If the `MoveToTeams` switch is specified, the meetings will be migrated to Teams meetings. Otherwise, meetings are migrated to Skype for Business Online. Teams-only users can still join meetings hosted in Skype for Business. For details see [Using the Meeting Migration Service (MMS)](https://docs.microsoft.com/skypeforbusiness/audio-conferencing-in-office-365/setting-up-the-meeting-migration-service-mms).
4248
- Moving a user to Teams is achieved by specifying the MoveToTeams switch. This performs the same operations as a move to Skype for Business Online (without the specifying -MoveToTeams) and also performs the following actions:
4349

4450
- TeamsUpgradePolicy with Mode=TeamsOnly is assigned to the online user account.
@@ -49,9 +55,6 @@ When moving a user to or from Office 365 (either Skype for Business Online or Te
4955
> [!NOTE]
5056
> <ul><li>The MoveToTeams switch is only available on Skype for Business Server 2019 and CU8 for Skype for Business Server 2015. Organizations using other versions of Skype for Business Server must first move the user to Skype for Business Online, and then apply TeamsUpgradePolicy.</li><li>If you are using Skype for Business Server 2015 with CU8 or later, we recommend you pass the `-UseOAuth` switch, which ensures the on-premises code authenticates using OAuth, instead of Legacy LiveID authentication. In Skype for Business Server 2019 and later versions, OAuth is always used hence the switch is not relevant on those versions.</li></ul>
5157
52-
53-
54-
5558
## EXAMPLES
5659

5760
### ------- EXAMPLE 1: Move a user to Teams-----------------------
@@ -89,6 +92,15 @@ Get-CsUser -OU "ou=Finance,dc=litwareinc,dc=com" | Move-CsUser -Target "atl-cs-0
8992
In Example 4, all the user accounts in the Finance organizational unit (OU) are moved to the Registrar pool atl-cs-001.litwareinc.com.
9093
To carry out this task, the command first uses the Get-CsUser cmdlet and the OU parameter to retrieve a collection of all the user accounts in the Finance OU. After the data has been retrieved, the information is piped to the Move-CsUser cmdlet, which moves each account in the collection to the Registrar pool atl-cs-001.litwareinc.com.
9194

95+
### --------- EXAMPLE 5: Move multiple users listed in a file ---------------------------
96+
97+
```powershell
98+
Move-CsUser -UserList C:\Folder1\Folder2\file1.txt -Target "atl-cs-001.litwareinc.com" -Report C:\Folder1\Folder2\out.csv
99+
```
100+
101+
In Example 5, all the users listed in file1.txt are moved to the the Registrar pool atl-cs-001.litwareinc.com.
102+
Also, a detailed report is created in the out.csv file.
103+
92104
## PARAMETERS
93105

94106
### -Identity
@@ -298,7 +310,6 @@ Accept pipeline input: False
298310
Accept wildcard characters: False
299311
```
300312
301-
302313
### -Confirm
303314
304315
Enables you to bypass the confirmation prompt that would otherwise appear when you attempt to move a user.
@@ -325,7 +336,7 @@ Accept wildcard characters: False
325336

326337
### -Report
327338

328-
PARAMVALUE: String
339+
A CSV file to be created with detailed information about the move. You can supply the file name if you want to create the file in the current folder, or an absolute path.
329340

330341
```yaml
331342
Type: String
@@ -342,7 +353,7 @@ Accept wildcard characters: False
342353

343354
### -UserList
344355

345-
A List of users to be moved, in the following format example: "sip:[email protected],sip:[email protected],sip:[email protected]".
356+
A text file with a list of users to be moved, in the following format example: "sip:[email protected],sip:[email protected],sip:[email protected]". You can supply the file name if it's located in the current folder, or the absolute path to the file.
346357

347358
```yaml
348359
Type: String

0 commit comments

Comments
 (0)