diff --git a/scripts/autopilot.ps1 b/scripts/autopilot.ps1 index b5120b0..b9f6e53 100644 --- a/scripts/autopilot.ps1 +++ b/scripts/autopilot.ps1 @@ -1,23 +1,5 @@ $ProgressPreference = 'SilentlyContinue' Clear-Host - -# $header = @" - -# _ _ _ _ _ ____ _ _ -# / \ _ _| |_ ___ _ __ (_) | ___ | |_ | __ ) ___ ___ | |_ ___| |_ _ __ __ _ _ __ -# / _ \| | | | __/ _ \| '_ \| | |/ _ \| __| | _ \ / _ \ / _ \| __/ __| __| '__/ _` | '_ \ -# / ___ \ |_| | || (_) | |_) | | | (_) | |_ | |_) | (_) | (_) | |_\__ \ |_| | | (_| | |_) | -# /_/ \_\__,_|\__\___/| .__/|_|_|\___/ \__| |____/ \___/ \___/ \__|___/\__|_| \__,_| .__/ -# |_| |_| - - -# ============ Autopilot hash bootstrap ============ -# Author: https://github.com/rvdwegen -# Repo: https://github.com/rvdwegen/autopilot.ms - -# "@ - -# Write-Host $header Write-Host $env:logoheader function Save-File ([string]$filename) { diff --git a/scripts/gettenant.ps1 b/scripts/gettenant.ps1 index 6f56f41..65ccabb 100644 --- a/scripts/gettenant.ps1 +++ b/scripts/gettenant.ps1 @@ -1,25 +1,6 @@ $ProgressPreference = 'SilentlyContinue' -$host.ui.RawUI.WindowTitle = "Autopilot Hash Bootstrap" - Clear-Host - -$header = @" - - _ _ _ _ _ ____ _ _ - / \ _ _| |_ ___ _ __ (_) | ___ | |_ | __ ) ___ ___ | |_ ___| |_ _ __ __ _ _ __ - / _ \| | | | __/ _ \| '_ \| | |/ _ \| __| | _ \ / _ \ / _ \| __/ __| __| '__/ _` | '_ \ - / ___ \ |_| | || (_) | |_) | | | (_) | |_ | |_) | (_) | (_) | |_\__ \ |_| | | (_| | |_) | - /_/ \_\__,_|\__\___/| .__/|_|_|\___/ \__| |____/ \___/ \___/ \__|___/\__|_| \__,_| .__/ - |_| |_| - - - ============ Autopilot hash bootstrap ============ - Author: https://github.com/rvdwegen - Repo: https://github.com/rvdwegen/autopilot.ms - -"@ - -Write-Host $header +Write-Host $env:logoheader try { $jsonRaw = (Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Provisioning\AutopilotPolicyCache").PolicyJsonCache diff --git a/scripts/getwindowsautopilotscript.ps1 b/scripts/getwindowsautopilotscript.ps1 index 3442968..c958b9f 100644 --- a/scripts/getwindowsautopilotscript.ps1 +++ b/scripts/getwindowsautopilotscript.ps1 @@ -1,25 +1,6 @@ $ProgressPreference = 'SilentlyContinue' -$host.ui.RawUI.WindowTitle = "Autopilot Hash Bootstrap" - -$header = @" - - _ _ _ _ _ ____ _ _ - / \ _ _| |_ ___ _ __ (_) | ___ | |_ | __ ) ___ ___ | |_ ___| |_ _ __ __ _ _ __ - / _ \| | | | __/ _ \| '_ \| | |/ _ \| __| | _ \ / _ \ / _ \| __/ __| __| '__/ _` | '_ \ - / ___ \ |_| | || (_) | |_) | | | (_) | |_ | |_) | (_) | (_) | |_\__ \ |_| | | (_| | |_) | - /_/ \_\__,_|\__\___/| .__/|_|_|\___/ \__| |____/ \___/ \___/ \__|___/\__|_| \__,_| .__/ - |_| |_| - - - ============ Autopilot hash bootstrap ============ - Author: https://github.com/rvdwegen - Repo: https://github.com/rvdwegen/autopilot.ms - -"@ - -CLS - -Write-Host $header +Clear-Host +Write-Host $env:logoheader if (!(Get-PackageProvider | Where-Object { $_.Name -eq "NuGet" })) { Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force -Confirm:$FALSE | Out-Null