rc.1
This commit is contained in:
@@ -18,6 +18,7 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S
|
|||||||
} 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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user