Step 2 has the following command:
.\generate-env.ps1
It may cause error: "...\generate-env.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies..."
You may change execution policy for the current user with following command:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Or use some other command to avoid default execution policy.