mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-04-02 17:32:09 +00:00
Fix Formatting and Tweak Things
- Fixed the formatting - Tweaked Write-Host's - Added newlines (`n) to space out the Statuses - Added progress indicators - Required "s and 's to be swapped so x/4 does not perform an operation
This commit is contained in:
parent
0b59570b1c
commit
94058b9a10
10
winutil.ps1
10
winutil.ps1
@ -1196,11 +1196,11 @@ $WPFFeatureInstall.Add_Click({
|
|||||||
})
|
})
|
||||||
|
|
||||||
$WPFPanelDISM.Add_Click({
|
$WPFPanelDISM.Add_Click({
|
||||||
Start-Process PowerShell -ArgumentList 'Write-Host "Chkdsk" -ForegroundColor Green; Chkdsk;
|
Start-Process PowerShell -ArgumentList "Write-Host '(1/4) Chkdsk' -ForegroundColor Green; Chkdsk /scan;
|
||||||
Write-Host "SFC - 1st scan" -ForegroundColor Green; sfc /scannow;
|
Write-Host '`n(2/4) SFC - 1st scan' -ForegroundColor Green; sfc /scannow;
|
||||||
Write-Host "DISM" -ForegroundColor Green; DISM /Online /Cleanup-Image /Restorehealth;
|
Write-Host '`n(3/4) DISM' -ForegroundColor Green; DISM /Online /Cleanup-Image /Restorehealth;
|
||||||
Write-Host "SFC - 2nd scan" -ForegroundColor Green; sfc /scannow;
|
Write-Host '`n(4/4) SFC - 2nd scan' -ForegroundColor Green; sfc /scannow;
|
||||||
Read-Host "Press Enter"' -verb runas
|
Read-Host '`nPress Enter'" -verb runas
|
||||||
})
|
})
|
||||||
|
|
||||||
$WPFPanelcontrol.Add_Click({
|
$WPFPanelcontrol.Add_Click({
|
||||||
|
Loading…
Reference in New Issue
Block a user