This commit is contained in:
2026-06-13 02:38:39 -06:00
parent e56c36506a
commit 1dd41d7d89
+5 -4
View File
@@ -17,7 +17,8 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S
exit 0 exit 0
} else { } else {
Clear-Host # clear window Clear-Host # clear window
# ascii art
Write-Host -ForegroundColor Magenta @' Write-Host -ForegroundColor Magenta @'
.. ..... .. .....
....------.. ....------..
@@ -72,12 +73,12 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S
.-=++++++++=... .:***+++==::::... .-%#=-*#%#**#-. .-=++++++++=... .:***+++==::::... .-%#=-*#%#**#-.
.............. ..............
'@ '@
# vars
Write-Host "FIXING WINDOWS FULL PRINCESS PI STYLE (THIS WILL TAKE MANY HOURS AND REBOOT MORE THAN ONCE, SLOWLY)`n" -ForegroundColor Magenta
$LogDir = "$env:USERPROFILE\Downloads\Repair-Log-$((Get-Date).ToString('yyyy-MM-dd-HHmm'))" # path to new log Dir $LogDir = "$env:USERPROFILE\Downloads\Repair-Log-$((Get-Date).ToString('yyyy-MM-dd-HHmm'))" # path to new log Dir
$ErrorLog = "$LogDir\error.log" # error log file $ErrorLog = "$LogDir\error.log" # error log file
Write-Host "FIXING WINDOWS FULL PRINCESS PI STYLE (THIS WILL TAKE MANY HOURS AND REBOOT MORE THAN ONCE, SLOWLY)`n" -ForegroundColor Magenta
Write-Host "Creating Log Dir at $LogDir 1/20" Write-Host "Creating Log Dir at $LogDir 1/20"
New-Item -Path "$LogDir" -ItemType Directory > $null 2>> $null # create log dir New-Item -Path "$LogDir" -ItemType Directory > $null 2>> $null # create log dir