Skip to content

Commit f6bdee8

Browse files
authored
Merge pull request MicrosoftDocs#7764 from get-itips/patch-348
Adding missing param
2 parents 874278d + 1c196c3 commit f6bdee8

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

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

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +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] [-Report <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>] [-DomainController <Fqdn>] [-Confirm] [-Force] [-PassThru] [-WhatIf] [<CommonParameters>]
2525
```
2626

2727
### UserList
2828

2929
```
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>]
30+
Move-CsUser -UserList <String> [-Target] <Fqdn> [-Credential <PSCredential>] [-MoveToTeams] [-HostedMigrationOverrideUrl <String>] [-UseOAuth] [-BypassEnterpriseVoiceCheck] [-BypassAudioConferencingCheck] [-TenantAdminUserName] [-ProxyPool <Fqdn>] [-MoveConferenceData] [-Report <String>] [-DomainController <Fqdn>] [-Confirm] [-Force] [-PassThru] [-WhatIf] [<CommonParameters>]
3131
```
3232

3333
## DESCRIPTION
@@ -62,7 +62,7 @@ When moving a user to or from Office 365 (either Skype for Business Online or Te
6262

6363
## EXAMPLES
6464

65-
### ------- EXAMPLE 1: Move a user to Teams-----------------------
65+
### EXAMPLE 1: Move a user to Teams
6666

6767
```powershell
6868
$cred=get-credential
@@ -71,7 +71,7 @@ Move-CsUser -Identity "[email protected]" -Target "sipfed.online.lync.com" -Mov
7171

7272
In Example 1, the Move-CsUser cmdlet is used to move the user account with sip address [email protected] to Teams. This user will now be a Teams only user. If -Credential parameter is not specified, the admin will be prompted for credentials.
7373

74-
### ------- EXAMPLE 2: Move a user to Skype for Business Online ----
74+
### EXAMPLE 2: Move a user to Skype for Business Online
7575

7676
```powershell
7777
$cred=get-credential
@@ -80,15 +80,15 @@ Move-CsUser -Identity [email protected] -Target "sipfed.online.lync.com" -Cred
8080

8181
In Example 2, the Move-CsUser cmdlet is used to move the user account with sip address [email protected] to Skype for Business Online. This is the same cmdlet usage as example 1, except the MoveToTeams switch is not specified.
8282

83-
### -------- EXAMPLE 3: Move a user to another on-premises pool-------
83+
### EXAMPLE 3: Move a user to another on-premises pool
8484

8585
```powershell
8686
Move-CsUser -Identity "Pilar Ackerman" -Target "atl-cs-001.litwareinc.com"
8787
```
8888

8989
In Example 3, the Move-CsUser cmdlet is used to move the user account with the Identity Pilar Ackerman to the Registrar pool atl-cs-001.litwareinc.com.
9090

91-
### --------- EXAMPLE 4: Move multiple users ---------------------------
91+
### EXAMPLE 4: Move multiple users
9292

9393
```powershell
9494
Get-CsUser -OU "ou=Finance,dc=litwareinc,dc=com" | Move-CsUser -Target "atl-cs-001.litwareinc.com"
@@ -97,7 +97,7 @@ Get-CsUser -OU "ou=Finance,dc=litwareinc,dc=com" | Move-CsUser -Target "atl-cs-0
9797
In Example 4, all the user accounts in the Finance organizational unit (OU) are moved to the Registrar pool atl-cs-001.litwareinc.com.
9898
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.
9999

100-
### --------- EXAMPLE 5: Move multiple users listed in a file ---------------------------
100+
### EXAMPLE 5: Move multiple users listed in a file
101101

102102
```powershell
103103
Move-CsUser -UserList C:\Folder1\Folder2\file1.txt -Target "atl-cs-001.litwareinc.com" -Report C:\Folder1\Folder2\out.csv
@@ -373,6 +373,22 @@ Accept pipeline input: False
373373
Accept wildcard characters: False
374374
```
375375

376+
### -DomainController
377+
The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name (FQDN). For example, dc01.contoso.com.
378+
379+
```yaml
380+
Type: Fqdn
381+
Parameter Sets: (All)
382+
Aliases:
383+
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
384+
385+
Required: False
386+
Position: Named
387+
Default value: None
388+
Accept pipeline input: False
389+
Accept wildcard characters: False
390+
```
391+
376392
### -PassThru
377393

378394
Enables you to pass a user object through the pipeline that represents the user account being moved.

0 commit comments

Comments
 (0)