github.com/sapplications/sb@v0.0.0-20240116135441-1a13cafe3497/setup.ps1 (about)

     1  # Setup PowerShell
     2  if ($PSVersionTable.Platform -ne 'Unix') {
     3      # Please run this script with admin rights
     4      $ErrorActionPreference = 'Stop'
     5      Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
     6      Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
     7  }
     8  # Install PowerShell Modules
     9  Install-Module InvokeBuild -Force