Copy-Item
noun
say it: “KOP-ee EYE-tum” /ˈkɑpi ˈaɪtəm/
A PowerShell command that copies a file or folder to another place and leaves the original where it was.
What does Copy-Item do?
Copy-Item makes a copy of a file or folder somewhere else, and the original stays where it was. For a folder with things in it, add -Recurse, or you get an empty folder. -WhatIf shows what it would copy without copying.
Copy-Item resume.docx backup
In a sentence
- “Sam used Copy-Item to put a second copy of her resume in the backup folder.”
- “Without -Recurse, Copy-Item copied the folder but none of the files inside it.”
Level: Novice · More PowerShell terms at this level
Updated