Bird
0
0

What does the PowerShell command Copy-Item do?

easy📝 Conceptual Q11 of 15
PowerShell - File and Directory Operations
What does the PowerShell command Copy-Item do?
ADuplicates files or folders to a new location without removing the original
BDeletes files or folders permanently
CMoves files or folders to a new location and deletes the original
DRenames files or folders in the current location
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of Copy-Item

    Copy-Item creates a copy of the specified file or folder at a new location, leaving the original intact.
  2. Step 2: Compare with other commands

    Unlike Move-Item, Copy-Item does not remove the original file or folder.
  3. Final Answer:

    Duplicates files or folders to a new location without removing the original -> Option A
  4. Quick Check:

    Copy-Item = Duplicate without deleting original [OK]
Quick Trick: Copy-Item duplicates; Move-Item moves and deletes original [OK]
Common Mistakes:
  • Confusing Copy-Item with Move-Item
  • Thinking Copy-Item deletes the original file
  • Assuming Copy-Item renames files

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes