powershell get-childitem exclude folders code example Example: powershell get-childitem exclude node_modules Get-ChildItem -Exclude *node_modules*