PowerShell - File and Directory Operations
What will be the result of running this command if
data.txt exists and is not read-only?Remove-Item -Path data.txt -Forcedata.txt exists and is not read-only?Remove-Item -Path data.txt -Force-Force allows deletion of read-only or hidden files without errors.data.txt is not read-only, the file will be deleted silently without prompt.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions