Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Get-PSDrive -PSProvider FileSystem | Where-Object -Property Free | %{ write-host 'Checking drive ' $_.Root; set-location $_.Root; Get-ChildItem -File -Filter *.sln -Recurse; write-host 'Checked drive ' $_.Root; } > "C:\temp\mysterious solutions.txt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment