This commit is contained in:
2026-06-13 03:18:50 -06:00
parent 36f32f26dc
commit e9a22feb25
+4 -3
View File
@@ -74,16 +74,17 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S
..............
'@
# vars
$LogDir = "$env:USERPROFILE\Downloads\Repair-Log-$((Get-Date).ToString('yyyy-MM-dd-HHmm'))" # path to new log Dir
$MainLog = "$LogDir\main.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/21 at $((Get-Date).ToString('yyyy-MM-dd-HHmm'))"
mkdir "$LogDir" > $null 2> $null # create log dir
$LogDir = "$env:USERPROFILE\Downloads\Repair-Log-$((Get-Date).ToString('yyyy-MM-dd-HHmm'))" # path to new log Dir
Write-Host "Initialize Log File $LogFile 3/21 at $((Get-Date).ToString('yyyy-MM-dd-HHmm'))"
echo "$((Get-Date).ToString('yyyy-MM-dd-HHmm'))" >> "LogDir\main.log"
$MainLog = "$LogDir\main.log" # error log file
Write-Host "Opening Log Dir 2/21 at $((Get-Date).ToString('yyyy-MM-dd-HHmm'))" | Tee-Object -FilePath "$MainLog" -Append
explorer.exe "$LogDir"