Remove an invisible caracter on Windows (fucking encoding)
This commit is contained in:
parent
8832083dc5
commit
7371507fd4
1 changed files with 2 additions and 2 deletions
|
@ -108,9 +108,9 @@ function disableShitty {
|
|||
$isInstalled = $requestInstall | Select-String "state"
|
||||
If ($isInstalled -match "Enable") {
|
||||
try {
|
||||
Dism /online /Disable-Feature /FeatureName:$name /NoRestart| Out-Null
|
||||
Dism /online /Disable-Feature /FeatureName:$name /NoRestart | Out-Null
|
||||
}
|
||||
catch {
|
||||
catch {
|
||||
Write-Host -ForegroundColor Red " Error"
|
||||
Return
|
||||
}
|
||||
|
|
Reference in a new issue