Skip to content

Commit a4d0a15

Browse files
authored
Merge branch 'main' into docs-editor/Update-MpSignature-1690567001
2 parents 11a4377 + 0b29c59 commit a4d0a15

File tree

59 files changed

+6106
-56
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+6106
-56
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/winserver2012-ps/printmanagement/Get-PrintJob.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Accept wildcard characters: False
104104
105105
### -ID
106106
Specifies the ID of the print job to retrieve.
107-
You can use wildcard characters.
107+
You cannot use wildcard characters.
108108
109109
```yaml
110110
Type: UInt32

docset/winserver2012-ps/smbshare/New-SmbShare.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ The **New-SMBShare** cmdlet exposes a file system folder to remote clients as a
2525

2626
To delete a share that was created by this cmdlet, use the Remove-SMBShare cmdlet.
2727

28+
> [!NOTE]
29+
> The **WhatIf** parameter does not work with this cmdlet.
30+
2831
## EXAMPLES
2932

3033
### EXAMPLE 1
@@ -376,8 +379,6 @@ Accept wildcard characters: False
376379
Shows what would happen if the cmdlet runs.
377380
The cmdlet is not run.
378381

379-
NOTE: The WhatIf switch does not work with this cmdlet.
380-
381382
```yaml
382383
Type: SwitchParameter
383384
Parameter Sets: (All)

docset/winserver2012-ps/storage/Get-Partition.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ This cmdlet will return a Volume object or a set of Volume objects given paramet
5050
PS C:\>Get-Partition
5151
```
5252

53-
This example return all partitions, on all disks.
53+
This example returns all partitions, on all disks.
5454

5555
### EXAMPLE 2
5656
```
@@ -62,7 +62,7 @@ PartitionNumber DriveLetter Offset Size
6262
1 H 1048576 298.09 GB IFS
6363
```
6464

65-
This example return all partitions on disk 5.
65+
This example returns all partitions on disk 5.
6666

6767
### EXAMPLE 3
6868
```
@@ -74,7 +74,7 @@ PartitionNumber DriveLetter Offset Size
7474
2 C 368050176 465.42 GB IFS
7575
```
7676

77-
This example partition associated with the volume for drive letter C.
77+
This example returns partitions associated with the volume for drive letter C.
7878

7979
### EXAMPLE 4
8080
```

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/winserver2012r2-ps/printmanagement/Get-PrintJob.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Accept wildcard characters: False
103103
104104
### -ID
105105
Specifies the ID of the print job to retrieve.
106-
You can use wildcard characters.
106+
You cannot use wildcard characters.
107107
108108
```yaml
109109
Type: UInt32

docset/winserver2012r2-ps/smbshare/New-SmbShare.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ The **New-SMBShare** cmdlet exposes a file system folder to remote clients as a
2828

2929
To delete a share that was created by this cmdlet, use the Remove-SMBShare cmdlet.
3030

31+
> [!NOTE]
32+
> The **WhatIf** parameter does not work with this cmdlet.
33+
3134
## EXAMPLES
3235

3336
### EXAMPLE 1
@@ -396,8 +399,6 @@ Accept wildcard characters: False
396399
Shows what would happen if the cmdlet runs.
397400
The cmdlet is not run.
398401

399-
NOTE: The WhatIf switch does not work with this cmdlet.
400-
401402
```yaml
402403
Type: SwitchParameter
403404
Parameter Sets: (All)

docset/winserver2012r2-ps/storage/Get-Partition.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ This cmdlet will return a Volume object or a set of Volume objects given paramet
5555
PS C:\>Get-Partition
5656
```
5757

58-
This example return all partitions, on all disks.
58+
This example returns all partitions, on all disks.
5959

6060
### EXAMPLE 2
6161
```
@@ -67,7 +67,7 @@ PartitionNumber DriveLetter Offset Size
6767
1 H 1048576 298.09 GB IFS
6868
```
6969

70-
This example return all partitions on disk 5.
70+
This example returns all partitions on disk 5.
7171

7272
### EXAMPLE 3
7373
```
@@ -79,7 +79,7 @@ PartitionNumber DriveLetter Offset Size
7979
2 C 368050176 465.42 GB IFS
8080
```
8181

82-
This example partition associated with the volume for drive letter C.
82+
This example returns partitions associated with the volume for drive letter C.
8383

8484
### EXAMPLE 4
8585
```

docset/winserver2016-ps/activedirectory/Get-ADPrincipalGroupMembership.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,27 @@ Accept wildcard characters: False
258258
```
259259
260260
### -Partition
261-
The default authentication method is Negotiate.
261+
Specifies the distinguished name of an Active Directory partition.
262+
The distinguished name must be one of the naming contexts on the current directory server.
263+
The cmdlet searches this partition to find the object defined by the **Identity** parameter.
262264
263-
A Secure Sockets Layer (SSL) connection is required for the Basic authentication method.
265+
In many cases, a default value is used for the **Partition** parameter if no value is specified.
266+
The rules for determining the default value are given below.
267+
Note that rules listed first are evaluated first and once a default value can be determined, no further rules are evaluated.
268+
269+
In Active Directory Domain Services (AD DS) environments, a default value for **Partition** is set in the following cases:
270+
271+
- If the **Identity** parameter is set to a distinguished name, the default value of **Partition** is automatically generated from this distinguished name.
272+
- If running cmdlets from an Active Directory provider drive, the default value of **Partition** is automatically generated from the current path in the drive.
273+
- If none of the previous cases apply, the default value of **Partition** is set to the default partition or naming context of the target domain.
274+
275+
In Active Directory Lightweight Directory Services (AD LDS) environments, a default value for **Partition** is set in the following cases:
276+
277+
- If the **Identity** parameter is set to a distinguished name, the default value of **Partition** is automatically generated from this distinguished name.
278+
- If running cmdlets from an Active Directory provider drive, the default value of **Partition** is automatically generated from the current path in the drive.
279+
- If the target AD LDS instance has a default naming context, the default value of **Partition** is set to the default naming context.
280+
To specify a default naming context for an AD LDS environment, set the **msDS-defaultNamingContext** property of the Active Directory directory service agent object (**nTDSDSA**) for the AD LDS instance.
281+
- If none of the previous cases apply, the **Partition** parameter does not take any default value.
264282
265283
```yaml
266284
Type: String
@@ -269,7 +287,7 @@ Aliases:
269287

270288
Required: False
271289
Position: Named
272-
Default value: None
290+
Default value: DefaultNC; Provider: The default is to use the Partition that you are currently in. Otherwise, use DefaultNC (that is, if you are in the RootDSE)
273291
Accept pipeline input: False
274292
Accept wildcard characters: False
275293
```

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

0 commit comments

Comments
 (0)