Skip to content

Commit

Permalink
dfdfdf
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdwegen authored Nov 21, 2024
1 parent 9f3371c commit 1687302
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 59 deletions.
18 changes: 0 additions & 18 deletions scripts/autopilot.ps1
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
21 changes: 1 addition & 20 deletions scripts/gettenant.ps1
Original file line number Diff line number Diff line change
@@ -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
Expand Down
23 changes: 2 additions & 21 deletions scripts/getwindowsautopilotscript.ps1
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1687302

Please sign in to comment.