Skip to content

Commit cd508c9

Browse files
authored
Apply suggestions from code review
Co-authored-by: Sean Wheeler <sean.wheeler@microsoft.com>
1 parent fbdebe3 commit cd508c9

File tree

4 files changed

+16
-19
lines changed

4 files changed

+16
-19
lines changed

reference/5.1/Microsoft.PowerShell.Management/Move-Item.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ For example, it can move a file or subdirectory from one directory to another or
4444
subkey from one key to another. When you move an item, it is added to the new location and deleted
4545
from its original location.
4646

47-
If the specified destination path resolves to an existing non-container item, or you're renaming
48-
and an item with the target name already exists, this cmdlet raises an error. To overwrite an
49-
existing item in these cases, specify the **Force** parameter. When the destination is an existing
50-
container (such as a directory), the item is moved into that container, if supported by the
51-
provider.
47+
If the specified destination path resolves to an existing non-container item, or you're moving and
48+
the target name already exists, this cmdlet raises an error. To overwrite an existing item, use the
49+
**Force** parameter. When the destination is an existing container (such as a directory), the item
50+
is moved into that container, if supported by the provider.
5251

5352
## EXAMPLES
5453

reference/7.4/Microsoft.PowerShell.Management/Move-Item.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ For example, it can move a file or subdirectory from one directory to another or
4444
subkey from one key to another. When you move an item, it is added to the new location and deleted
4545
from its original location.
4646

47-
If the specified destination path resolves to an existing non-container item, or you're renaming
48-
and an item with the target name already exists, this cmdlet raises an error. To overwrite an
49-
existing item in these cases, specify the **Force** parameter. When the destination is an existing
50-
container (such as a directory), the item is moved into that container, if supported by the
51-
provider.
47+
If the specified destination path resolves to an existing non-container item, or you're moving and
48+
the target name already exists, this cmdlet raises an error. To overwrite an existing item, use the
49+
**Force** parameter. When the destination is an existing container (such as a directory), the item
50+
is moved into that container, if supported by the provider.
5251

5352
## EXAMPLES
5453

reference/7.5/Microsoft.PowerShell.Management/Move-Item.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ For example, it can move a file or subdirectory from one directory to another or
4444
subkey from one key to another. When you move an item, it is added to the new location and deleted
4545
from its original location.
4646

47-
If the specified destination path resolves to an existing non-container item, or you're renaming
48-
and an item with the target name already exists, this cmdlet raises an error. To overwrite an
49-
existing item in these cases, specify the **Force** parameter. When the destination is an existing
50-
container (such as a directory), the item is moved into that container, if supported by the
51-
provider.
47+
If the specified destination path resolves to an existing non-container item, or you're moving and
48+
the target name already exists, this cmdlet raises an error. To overwrite an existing item, use the
49+
**Force** parameter. When the destination is an existing container (such as a directory), the item
50+
is moved into that container, if supported by the provider.
5251

5352
## EXAMPLES
5453

reference/7.6/Microsoft.PowerShell.Management/Move-Item.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ For example, it can move a file or subdirectory from one directory to another or
4444
subkey from one key to another. When you move an item, it is added to the new location and deleted
4545
from its original location.
4646

47-
If the specified destination path resolves to an existing non-container item, or you're renaming
48-
and an item with the target name already exists, this cmdlet raises an error. To overwrite an
49-
existing item in these cases, specify the **Force** parameter. When the destination is an existing
50-
container (such as a directory), the item is moved into that container, if supported by the
47+
If the specified destination path resolves to an existing non-container item, or you're moving and
48+
the target name already exists, this cmdlet raises an error. To overwrite an existing item, use the
49+
**Force** parameter. When the destination is an existing container (such as a directory), the item
50+
is moved into that container, if supported by the provider.
5151
provider.
5252

5353
## EXAMPLES

0 commit comments

Comments
 (0)