Copy and Move: Copy-Item and Move-Item

Copy-Item makes a copy and leaves the original where it was, Move-Item takes the original to its new place, -Recurse copies a folder with everything in it, and -WhatIf shows exactly where a copy or move would land before anything changes.

Updated

Cheat sheet for the lesson Copy and Move: Copy-Item and Move-Item: Copy-Item makes a copy and leaves the original where it was, Move-Item takes the original to its new place, -Recurse copies a folder with everything in it, and -WhatIf shows exactly where a copy or move would land before anything…
Category
PowerShell
Level
Novice
Tags
copy-item, move-item, operating-system, powershell, whatif-and-confirm