$ mkdir bcm-staging
$ export WORK=`pwd`/bcm-staging
$ cd ${WORK}
$ git clone https://github.com/raspberrypi/tools
| Write-Host "=== Surface Baseline Audit ===" -ForegroundColor Cyan | |
| Write-Host "" | |
| Write-Host "Sleep states:" | |
| powercfg /a | |
| Write-Host "" | |
| Write-Host "Sleep configuration:" | |
| powercfg /query SCHEME_CURRENT SUB_SLEEP | |
| Write-Host "" |
| <# | |
| .SYNOPSIS | |
| Script to Initialize my custom powershell setup. | |
| .DESCRIPTION | |
| Script uses scoop | |
| Use the following command to execute | |
| PowerShell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://gist.github.com/garrans/332cf115c27e58ef1035552e7d027c4d/raw/shell-setup.ps1'))" | |
| .NOTES | |
| **NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted. |