Computer Science · Operating Systems
What will the following PowerShell command in Windows OS do? Command: Remove-Item C:\Logs -Recurse -Force
- 1Delete all files and subfolders inside C:\Logs, including the folder itself✓
- 2Only delete files, leaving folders intact
- 3Move the C:\Logs folder to the Recycle Bin
- 4Delete only empty folders under C:\Logs
Correct answer
Delete all files and subfolders inside C:\Logs, including the folder itself
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length Computer Science mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Operating Systems?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Operating Systems