Skip to content

Instantly share code, notes, and snippets.

@zeqk
Created July 19, 2018 20:51
Show Gist options
  • Save zeqk/384d1e4eb5d9a8caf46e429c72b1f186 to your computer and use it in GitHub Desktop.
Save zeqk/384d1e4eb5d9a8caf46e429c72b1f186 to your computer and use it in GitHub Desktop.
Get-ChildItem -File -Filter "*.csproj" | ForEach-Object {
New-Item -ItemType Directory $_.BaseName -Force;
Move-Item -Path $_.FullName -Destination $_.BaseName
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment