new-temp-project.ps1
$projectname=Get-Date -Format "yyyy-MM-dd-HH-mm" mkdir $projectname cd $projectname git init dotnet new sln -n Solution dotnet new gitignore dotnet new globaljson dotnet new nugetconfig dotnet new console -n ConsoleApp --use-program-main dotnet sln add ConsoleApp code .
818400cookie-checkC# create temp console project powershell script