rc.5
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user