PowerShell - File and Directory Operations
You run this command but get an error:
Get-ChildItem -Recurse -File -FolderWhat is the problem?
Get-ChildItem -Recurse -File -FolderWhat is the problem?
-Folder is not a valid parameter; the correct parameter for folders is -Directory. Also, -File and -Directory cannot be used together because they filter mutually exclusive items.-File and -Folder together causes a parameter conflict error.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions