Skip to content

Commit

Permalink
Merge branch 'main' into patch-22
Browse files Browse the repository at this point in the history
  • Loading branch information
tiburd authored Oct 2, 2023
2 parents 51333fd + de48307 commit 66ea913
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 24 deletions.
4 changes: 3 additions & 1 deletion docset/winserver2012-ps/activedirectory/Move-ADObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Move-ADObject [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCred
```

## DESCRIPTION
The Move-ADObject cmdlet moves an object or a container of objects from one container to another or from one domain to another.
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.

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

The cmdlet also moves the password when a user or computer object is moved across domains within a forest.

## EXAMPLES

### -------------------------- EXAMPLE 1 --------------------------
Expand Down
6 changes: 3 additions & 3 deletions docset/winserver2012-ps/storage/Get-Partition.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ This cmdlet will return a Volume object or a set of Volume objects given paramet
PS C:\>Get-Partition
```

This example return all partitions, on all disks.
This example returns all partitions, on all disks.

### EXAMPLE 2
```
Expand All @@ -62,7 +62,7 @@ PartitionNumber DriveLetter Offset Size
1 H 1048576 298.09 GB IFS
```

This example return all partitions on disk 5.
This example returns all partitions on disk 5.

### EXAMPLE 3
```
Expand All @@ -74,7 +74,7 @@ PartitionNumber DriveLetter Offset Size
2 C 368050176 465.42 GB IFS
```

This example partition associated with the volume for drive letter C.
This example returns partitions associated with the volume for drive letter C.

### EXAMPLE 4
```
Expand Down
3 changes: 2 additions & 1 deletion docset/winserver2012r2-ps/activedirectory/Move-ADObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Move-ADObject [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCred
```

## DESCRIPTION
The **Move-ADObject** cmdlet moves an object or a container of objects from one container to another or from one domain to another.
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.

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

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

## EXAMPLES

Expand Down
6 changes: 3 additions & 3 deletions docset/winserver2012r2-ps/storage/Get-Partition.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ This cmdlet will return a Volume object or a set of Volume objects given paramet
PS C:\>Get-Partition
```

This example return all partitions, on all disks.
This example returns all partitions, on all disks.

### EXAMPLE 2
```
Expand All @@ -67,7 +67,7 @@ PartitionNumber DriveLetter Offset Size
1 H 1048576 298.09 GB IFS
```

This example return all partitions on disk 5.
This example returns all partitions on disk 5.

### EXAMPLE 3
```
Expand All @@ -79,7 +79,7 @@ PartitionNumber DriveLetter Offset Size
2 C 368050176 465.42 GB IFS
```

This example partition associated with the volume for drive letter C.
This example returns partitions associated with the volume for drive letter C.

### EXAMPLE 4
```
Expand Down
3 changes: 2 additions & 1 deletion docset/winserver2016-ps/activedirectory/Move-ADObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Move-ADObject [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCred
```

## DESCRIPTION
The **Move-ADObject** cmdlet moves an object or a container of objects from one container to another or from one domain to another.
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.

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:

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

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

### Example 1: Move an OU to a new location
Expand Down
6 changes: 3 additions & 3 deletions docset/winserver2016-ps/storage/Get-Partition.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ This cmdlet will return a Volume object or a set of Volume objects given paramet
PS C:\>Get-Partition
```

This example return all partitions, on all disks.
This example returns all partitions, on all disks.

### Example 2
```
Expand All @@ -80,7 +80,7 @@ PartitionNumber DriveLetter Offset Size
1 H 1048576 298.09 GB IFS
```

This example return all partitions on disk 5.
This example returns all partitions on disk 5.

### Example 3
```
Expand All @@ -92,7 +92,7 @@ PartitionNumber DriveLetter Offset Size
2 C 368050176 465.42 GB IFS
```

This example partition associated with the volume for drive letter C.
This example returns partitions associated with the volume for drive letter C.

### Example 4
```
Expand Down
3 changes: 2 additions & 1 deletion docset/winserver2019-ps/activedirectory/Move-ADObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Move-ADObject [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCred
```

## DESCRIPTION
The **Move-ADObject** cmdlet moves an object or a container of objects from one container to another or from one domain to another.
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.

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:

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

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

## EXAMPLES

Expand Down
1 change: 1 addition & 0 deletions docset/winserver2019-ps/activedirectory/Set-ADUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ Accept wildcard characters: False
Specifies the country or region code for the user's language of choice.
This parameter sets the **Country** property of a user object.
The LDAP display name (**ldapDisplayName**) of this property is c.
This value uses the ISO-3166 2-character code (see [Country-Name attribute](/windows/win32/adschema/a-c)).
This value is not used by Windows 2000.

```yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ These commands create a certificate for Azure MFA, register the certificate in a
### Example 2: Determine which certificate Azure MFA is using
```
$CertInBase64 = New-AdfsAzureMfaTenantCertificate -TenantID
$cert = Security.Cryptography.X509Certificates.X509Certificate2
$cert | Format-List *
[Security.Cryptography.X509Certificates.X509Certificate2]([System.Convert]::FromBase64String($CertInBase64))
```

After AD FS has been configured for Azure MFA, this command determines which certificate Azure MFA is using and when it expires.
Expand Down
6 changes: 3 additions & 3 deletions docset/winserver2019-ps/storage/Get-Partition.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ This cmdlet will return a Volume object or a set of Volume objects given paramet
PS C:\>Get-Partition
```

This example return all partitions, on all disks.
This example returns all partitions, on all disks.

### Example 2
```
Expand All @@ -80,7 +80,7 @@ PartitionNumber DriveLetter Offset Size
1 H 1048576 298.09 GB IFS
```

This example return all partitions on disk 5.
This example returns all partitions on disk 5.

### Example 3
```
Expand All @@ -92,7 +92,7 @@ PartitionNumber DriveLetter Offset Size
2 C 368050176 465.42 GB IFS
```

This example partition associated with the volume for drive letter C.
This example returns partitions associated with the volume for drive letter C.

### Example 4
```
Expand Down
5 changes: 4 additions & 1 deletion docset/winserver2022-ps/activedirectory/Move-ADObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Move-ADObject [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCred
```

## DESCRIPTION
The **Move-ADObject** cmdlet moves an object or a container of objects from one container to another or from one domain to another.
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.

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:

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

The cmdlet also moves the password when a user or computer object is moved across domains within a forest.


## EXAMPLES

### Example 1: Move an OU to a new location
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Accept wildcard characters: False
```
### -MemberOf
Specifies the Active Directory groups to add a user, computer, or group to as a member.
Specifies the Active Directory groups to remove a user, computer, or group to as a member.
You can identify a group by providing one of the following values.
Note: The identifier in parentheses is the LDAP display name for the attribute.
The acceptable values for this parameter are:
Expand Down
2 changes: 1 addition & 1 deletion docset/winserver2022-ps/hyper-v/Set-VMComPort.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ PS C:\> Set-VMComPort TestVM 2 \\.\pipe\TestPipe
Configure the second COM port on virtual machine TestVM to connect to named pipe TestPipe on the local computer.

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

Expand Down
6 changes: 3 additions & 3 deletions docset/winserver2022-ps/storage/Get-Partition.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ This cmdlet will return a Volume object or a set of Volume objects given paramet
PS C:\>Get-Partition
```

This example return all partitions, on all disks.
This example returns all partitions, on all disks.

### Example 2
```
Expand All @@ -80,7 +80,7 @@ PartitionNumber DriveLetter Offset Size
1 H 1048576 298.09 GB IFS
```

This example return all partitions on disk 5.
This example returns all partitions on disk 5.

### Example 3
```
Expand All @@ -92,7 +92,7 @@ PartitionNumber DriveLetter Offset Size
2 C 368050176 465.42 GB IFS
```

This example partition associated with the volume for drive letter C.
This example returns partitions associated with the volume for drive letter C.

### Example 4
```
Expand Down

0 comments on commit 66ea913

Please sign in to comment.