mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-16 07:35:52 -06:00
Fix typos
This commit is contained in:
parent
d88e6c40d8
commit
13d9c96bde
@ -24,7 +24,7 @@ function Invoke-WPFFixesUpdate {
|
|||||||
Write-Host "4. Removing old Windows Update log..."
|
Write-Host "4. Removing old Windows Update log..."
|
||||||
Remove-Item $env:systemroot\WindowsUpdate.log -ErrorAction SilentlyContinue
|
Remove-Item $env:systemroot\WindowsUpdate.log -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
Write-Host "5. Resetting the Windows Update Services to defualt settings..."
|
Write-Host "5. Resetting the Windows Update Services to default settings..."
|
||||||
"sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
|
"sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
|
||||||
"sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
|
"sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
|
||||||
Set-Location $env:systemroot\system32
|
Set-Location $env:systemroot\system32
|
||||||
@ -108,4 +108,4 @@ function Invoke-WPFFixesUpdate {
|
|||||||
Write-Host "================================="
|
Write-Host "================================="
|
||||||
Write-Host "-- Reset ALL Updates to Factory -"
|
Write-Host "-- Reset ALL Updates to Factory -"
|
||||||
Write-Host "================================="
|
Write-Host "================================="
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# Severity = @('Error','Warning')
|
# Severity = @('Error','Warning')
|
||||||
|
|
||||||
# Analyze **only** the following rules. Use IncludeRules when you want
|
# Analyze **only** the following rules. Use IncludeRules when you want
|
||||||
# to invoke only a small subset of the defualt rules.
|
# to invoke only a small subset of the default rules.
|
||||||
<#
|
<#
|
||||||
IncludeRules = @('PSAvoidDefaultValueSwitchParameter',
|
IncludeRules = @('PSAvoidDefaultValueSwitchParameter',
|
||||||
'PSMisleadingBacktick',
|
'PSMisleadingBacktick',
|
||||||
@ -22,4 +22,4 @@
|
|||||||
# Note: if a rule is in both IncludeRules and ExcludeRules, the rule
|
# Note: if a rule is in both IncludeRules and ExcludeRules, the rule
|
||||||
# will be excluded.
|
# will be excluded.
|
||||||
ExcludeRules = @('PSAvoidUsingWriteHost')
|
ExcludeRules = @('PSAvoidUsingWriteHost')
|
||||||
}
|
}
|
||||||
|
@ -1018,7 +1018,7 @@ function Invoke-WPFFixesUpdate {
|
|||||||
Write-Host "4. Removing old Windows Update log..."
|
Write-Host "4. Removing old Windows Update log..."
|
||||||
Remove-Item $env:systemroot\WindowsUpdate.log -ErrorAction SilentlyContinue
|
Remove-Item $env:systemroot\WindowsUpdate.log -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
Write-Host "5. Resetting the Windows Update Services to defualt settings..."
|
Write-Host "5. Resetting the Windows Update Services to default settings..."
|
||||||
"sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
|
"sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
|
||||||
"sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
|
"sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
|
||||||
Set-Location $env:systemroot\system32
|
Set-Location $env:systemroot\system32
|
||||||
|
Loading…
Reference in New Issue
Block a user