Skip to content

Commit 0700114

Browse files
authored
Merge pull request MicrosoftDocs#3647 from MicrosoftDocs/main
Publish 10/02/2023, 3:30 PM
2 parents 1e2b7e5 + 0c38a28 commit 0700114

File tree

8 files changed

+16
-8
lines changed

8 files changed

+16
-8
lines changed

docset/winserver2012-ps/activedirectory/Move-ADObject.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Move-ADObject [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCred
1919
```
2020

2121
## DESCRIPTION
22-
The Move-ADObject cmdlet moves an object or a container of objects from one container to another or from one domain to another.
22+
The **Move-ADObject** cmdlet moves an object or a container of objects from one container to another or from one domain to another within the same forest.
2323

2424
The Identity parameter specifies the Active Directory object or container to move.
2525
You can identify an object or container by its distinguished name (DN) or GUID.
@@ -30,6 +30,8 @@ You can also use the Get-ADGroup, Get-ADUser, Get-ADComputer, Get-ADServiceAccou
3030
The TargetPath parameter must be specified.
3131
This parameter identifies the new location for the object or container.
3232

33+
The cmdlet also moves the password when a user or computer object is moved across domains within a forest.
34+
3335
## EXAMPLES
3436

3537
### -------------------------- EXAMPLE 1 --------------------------

docset/winserver2012r2-ps/activedirectory/Move-ADObject.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Move-ADObject [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCred
2121
```
2222

2323
## DESCRIPTION
24-
The **Move-ADObject** cmdlet moves an object or a container of objects from one container to another or from one domain to another.
24+
The **Move-ADObject** cmdlet moves an object or a container of objects from one container to another or from one domain to another within the same forest.
2525

2626
The **Identity** parameter specifies the Active Directory object or container to move.
2727
You can identify an object or container by its distinguished name or GUID.
@@ -31,6 +31,7 @@ You can also use the Get-ADGroup, Get-ADUser, Get-ADComputer, Get-ADServiceAccou
3131

3232
The **TargetPath** parameter must be specified.
3333
This parameter identifies the new location for the object or container.
34+
The cmdlet also moves the password when a user or computer object is moved across domains within a forest.
3435

3536
## EXAMPLES
3637

docset/winserver2016-ps/activedirectory/Move-ADObject.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Move-ADObject [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCred
2222
```
2323

2424
## DESCRIPTION
25-
The **Move-ADObject** cmdlet moves an object or a container of objects from one container to another or from one domain to another.
25+
The **Move-ADObject** cmdlet moves an object or a container of objects from one container to another or from one domain to another within the same forest.
2626

2727
When an object is moved between domains, both the source DC and the target DC need to be the RID Master of their domains. If a different DC is being used, you will receive the following error:
2828

@@ -37,6 +37,7 @@ You can also use the **Get-ADGroup**, **Get-ADUser**, **Get-ADComputer**, **Get-
3737
The *TargetPath* parameter must be specified.
3838
This parameter identifies the new location for the object or container.
3939

40+
The cmdlet also moves the password when a user or computer object is moved across domains within a forest.
4041
## EXAMPLES
4142

4243
### Example 1: Move an OU to a new location

docset/winserver2019-ps/activedirectory/Move-ADObject.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Move-ADObject [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCred
2222
```
2323

2424
## DESCRIPTION
25-
The **Move-ADObject** cmdlet moves an object or a container of objects from one container to another or from one domain to another.
25+
The **Move-ADObject** cmdlet moves an object or a container of objects from one container to another or from one domain to another within the same forest.
2626

2727
When an object is moved between domains, both the source DC and the target DC need to be the RID Master of their domains. If a different DC is being used, you will receive the following error:
2828

@@ -36,6 +36,7 @@ You can also use the **Get-ADGroup**, **Get-ADUser**, **Get-ADComputer**, **Get-
3636

3737
The *TargetPath* parameter must be specified.
3838
This parameter identifies the new location for the object or container.
39+
The cmdlet also moves the password when a user or computer object is moved across domains within a forest.
3940

4041
## EXAMPLES
4142

docset/winserver2019-ps/activedirectory/Set-ADUser.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ Accept wildcard characters: False
496496
Specifies the country or region code for the user's language of choice.
497497
This parameter sets the **Country** property of a user object.
498498
The LDAP display name (**ldapDisplayName**) of this property is c.
499+
This value uses the ISO-3166 2-character code (see [Country-Name attribute](/windows/win32/adschema/a-c)).
499500
This value is not used by Windows 2000.
500501

501502
```yaml

docset/winserver2019-ps/adfs/New-AdfsAzureMfaTenantCertificate.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ These commands create a certificate for Azure MFA, register the certificate in a
4848
### Example 2: Determine which certificate Azure MFA is using
4949
```
5050
$CertInBase64 = New-AdfsAzureMfaTenantCertificate -TenantID
51-
$cert = Security.Cryptography.X509Certificates.X509Certificate2
52-
$cert | Format-List *
51+
[Security.Cryptography.X509Certificates.X509Certificate2]([System.Convert]::FromBase64String($CertInBase64))
5352
```
5453

5554
After AD FS has been configured for Azure MFA, this command determines which certificate Azure MFA is using and when it expires.

docset/winserver2022-ps/activedirectory/Move-ADObject.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Move-ADObject [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCred
2222
```
2323

2424
## DESCRIPTION
25-
The **Move-ADObject** cmdlet moves an object or a container of objects from one container to another or from one domain to another.
25+
The **Move-ADObject** cmdlet moves an object or a container of objects from one container to another or from one domain to another within the same forest.
2626

2727
When an object is moved between domains, both the source DC and the target DC need to be the RID Master of their domains. If a different DC is being used, you will receive the following error:
2828

@@ -37,6 +37,9 @@ You can also use the **Get-ADGroup**, **Get-ADUser**, **Get-ADComputer**, **Get-
3737
The *TargetPath* parameter must be specified.
3838
This parameter identifies the new location for the object or container.
3939

40+
The cmdlet also moves the password when a user or computer object is moved across domains within a forest.
41+
42+
4043
## EXAMPLES
4144

4245
### Example 1: Move an OU to a new location

docset/winserver2022-ps/hyper-v/Set-VMComPort.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ PS C:\> Set-VMComPort TestVM 2 \\.\pipe\TestPipe
4747
Configure the second COM port on virtual machine TestVM to connect to named pipe TestPipe on the local computer.
4848

4949
> [!NOTE]
50-
> This does not create the named pipe on the local computer. You will have to write your own application to create a named pipe.
50+
> You can then access the named pipe using a third-party application or develop your own application.
5151
5252
## PARAMETERS
5353

0 commit comments

Comments
 (0)