This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param( | |
[string] $username = "tweeter", | |
[string] $open_ssh_version = "v7.9.0.0p1-Beta" | |
) | |
$ErrorActionPreference = 'Stop'; # stop on all errors | |
$log_stamp = get-date -format 'yyyyMMdd-HHmmss' | |
Start-Transcript -Path "$(pwd)/bootstrap.$($log_stamp).log" -IncludeInvocationHeader | |
# Make the administrator user | |
$Count = Get-Random -min 24 -max 32 |