Show progress inside PS window

This commit is contained in:
Calyx Hikari 2025-10-31 12:36:27 +08:00
parent 2b379de41f
commit 5ed7b9e19a
2 changed files with 4 additions and 4 deletions

View file

@ -248,10 +248,10 @@ function Main {
}
else {
if ($isServer) {
Start-Process -FilePath "$env:SystemRoot\System32\Dism.exe" -ArgumentList "/online /enable-feature /featurename:netfx3 /all" -Wait
Dism /Online /Enable-Feature /FeatureName:NetFx3 /All
}
else {
Start-Process -FilePath "$env:SystemRoot\System32\Dism.exe" -ArgumentList "/online /enable-feature /featurename:netfx3" -Wait
Dism /Online /Enable-Feature /FeatureName:NetFx3
}
}
}

4
net35
View file

@ -162,10 +162,10 @@ function Main {
}
else {
if ($isServer) {
Start-Process -FilePath "$env:SystemRoot\System32\Dism.exe" -ArgumentList "/online /enable-feature /featurename:netfx3 /all" -Wait
Dism /Online /Enable-Feature /FeatureName:NetFx3 /All
}
else {
Start-Process -FilePath "$env:SystemRoot\System32\Dism.exe" -ArgumentList "/online /enable-feature /featurename:netfx3" -Wait
Dism /Online /Enable-Feature /FeatureName:NetFx3
}
}