Skip to content

Commit 1c02717

Browse files
Torch02sdwheeler
authored andcommitted
Fixed -ToSession description (#4777)
The -ToSession description seems to have been a copy/paste from the -FromSession description. When using the -ToSession parameter, the -Destination parameter becomes local to the remote computer. This updates fixes that copy/paste error & provides the correct information.
1 parent 6c1df0b commit 1c02717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/6/Microsoft.PowerShell.Management/Copy-Item.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ Accept wildcard characters: False
447447
### -ToSession
448448

449449
Specifies the **PSSession** object to which a remote file is being copied. When you use this
450-
parameter, the **Path** and **LiteralPath** parameters refer to the local path on the remote
450+
parameter, the **Destination** parameter refers to the local path on the remote
451451
machine.
452452

453453
```yaml

0 commit comments

Comments
 (0)