From 13d9c96bdeefe9b40c429c2523272bd8fb814b91 Mon Sep 17 00:00:00 2001 From: nxjosephofficial Date: Sat, 17 Jun 2023 00:37:38 +0300 Subject: [PATCH] Fix typos --- functions/public/Invoke-WPFFixesUpdate.ps1 | 4 ++-- lint/PSScriptAnalyser.ps1 | 4 ++-- winutil.ps1 | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/functions/public/Invoke-WPFFixesUpdate.ps1 b/functions/public/Invoke-WPFFixesUpdate.ps1 index 6aace97e..d2c37b7a 100644 --- a/functions/public/Invoke-WPFFixesUpdate.ps1 +++ b/functions/public/Invoke-WPFFixesUpdate.ps1 @@ -24,7 +24,7 @@ function Invoke-WPFFixesUpdate { Write-Host "4. Removing old Windows Update log..." 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 wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)" Set-Location $env:systemroot\system32 @@ -108,4 +108,4 @@ function Invoke-WPFFixesUpdate { Write-Host "=================================" Write-Host "-- Reset ALL Updates to Factory -" Write-Host "=================================" -} \ No newline at end of file +} diff --git a/lint/PSScriptAnalyser.ps1 b/lint/PSScriptAnalyser.ps1 index 6c075ff7..4e8f1207 100644 --- a/lint/PSScriptAnalyser.ps1 +++ b/lint/PSScriptAnalyser.ps1 @@ -5,7 +5,7 @@ # Severity = @('Error','Warning') # 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', 'PSMisleadingBacktick', @@ -22,4 +22,4 @@ # Note: if a rule is in both IncludeRules and ExcludeRules, the rule # will be excluded. ExcludeRules = @('PSAvoidUsingWriteHost') -} \ No newline at end of file +} diff --git a/winutil.ps1 b/winutil.ps1 index 28e36cc3..9efdc727 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -1018,7 +1018,7 @@ function Invoke-WPFFixesUpdate { Write-Host "4. Removing old Windows Update log..." 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 wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)" Set-Location $env:systemroot\system32