From 67c72678a4331f7003a3c44d2833aa9dd3e55de7 Mon Sep 17 00:00:00 2001 From: AdamJedl <100023363+AdamJedl@users.noreply.github.com> Date: Sun, 30 Jul 2023 17:14:48 +0200 Subject: [PATCH] fix typos (#924) --- config/helperscript.ps1 | 12 ++++++------ functions/private/Get-WinUtilCheckBoxes.ps1 | 2 +- functions/private/Get-WinUtilVariables.ps1 | 2 +- functions/private/Invoke-WinUtilScript.ps1 | 2 +- functions/private/Test-WinUtilPackageManager.ps1 | 2 +- functions/public/Invoke-WPFControlPanel.ps1 | 2 +- functions/public/Invoke-WPFFixesNetwork.ps1 | 2 +- functions/public/Invoke-WPFFixesUpdate.ps1 | 2 +- functions/public/Invoke-WPFInstallUpgrade.ps1 | 2 +- functions/public/Invoke-WPFTab.ps1 | 2 +- lint/PSScriptAnalyser.ps1 | 4 ++-- scripts/start.ps1 | 2 +- xaml/inputXML.xaml | 12 ++++++------ 13 files changed, 24 insertions(+), 24 deletions(-) diff --git a/config/helperscript.ps1 b/config/helperscript.ps1 index 403faa8ce8..a0b633cb83 100644 --- a/config/helperscript.ps1 +++ b/config/helperscript.ps1 @@ -9,7 +9,7 @@ ----------------- This file holds all the install commands to install the applications. This file has the ability to expect multiple frameworks per checkbox. - You can also add multiple install commands by seperating them with ; + You can also add multiple install commands by separating them with ; The structure of the json is as follows @@ -63,7 +63,7 @@ $jsonfile | ConvertTo-Json | Out-File ./config/applications.json <# feature.json ----------------- - This file holds all the windows commands to install specefic features (IE Hyper-v) + This file holds all the windows commands to install specific features (IE Hyper-v) The structure of the json is as follows @@ -290,7 +290,7 @@ Example: #Make sure to uncomment the sections you which to add. #$Registry = @( -# #to add more repeat this seperated by a comma +# #to add more repeat this separated by a comma # @{ # Path = "" # Name = "" @@ -301,7 +301,7 @@ Example: #) #$Service = @( -# #to add more repeat this seperated by a comma +# #to add more repeat this separated by a comma # @{ # Name = "" # StartupType = "" @@ -310,7 +310,7 @@ Example: #) #$ScheduledTask = @( -# #to add more repeat this seperated by a comma +# #to add more repeat this separated by a comma # @{ # Name = "" # State = "" @@ -358,7 +358,7 @@ Add-Member -InputObject $jsonfile -MemberType NoteProperty -Name $NameofButton - <# dns.json ----------------- - This file holds all the DNS entrees. + This file holds all the DNS entries. The structure of the json is as follows diff --git a/functions/private/Get-WinUtilCheckBoxes.ps1 b/functions/private/Get-WinUtilCheckBoxes.ps1 index f243c9704a..a572df04f5 100644 --- a/functions/private/Get-WinUtilCheckBoxes.ps1 +++ b/functions/private/Get-WinUtilCheckBoxes.ps1 @@ -3,7 +3,7 @@ Function Get-WinUtilCheckBoxes { <# .DESCRIPTION - Function is meant to find all checkboxes that are checked on the specefic tab and input them into a script. + Function is meant to find all checkboxes that are checked on the specific tab and input them into a script. Outputed data will be the names of the checkboxes that were checked diff --git a/functions/private/Get-WinUtilVariables.ps1 b/functions/private/Get-WinUtilVariables.ps1 index 6c64099f3d..32e536e4a0 100644 --- a/functions/private/Get-WinUtilVariables.ps1 +++ b/functions/private/Get-WinUtilVariables.ps1 @@ -3,7 +3,7 @@ function Get-WinUtilVariables { <# .DESCRIPTION - palceholder + placeholder #> param ( diff --git a/functions/private/Invoke-WinUtilScript.ps1 b/functions/private/Invoke-WinUtilScript.ps1 index e2a3451bce..329f76f953 100644 --- a/functions/private/Invoke-WinUtilScript.ps1 +++ b/functions/private/Invoke-WinUtilScript.ps1 @@ -2,7 +2,7 @@ function Invoke-WinUtilScript { <# .DESCRIPTION - This function will run a seperate powershell script. Meant for things that can't be handled with the other functions + This function will run a separate powershell script. Meant for things that can't be handled with the other functions .EXAMPLE diff --git a/functions/private/Test-WinUtilPackageManager.ps1 b/functions/private/Test-WinUtilPackageManager.ps1 index f1054c3a0d..a4624c53d5 100644 --- a/functions/private/Test-WinUtilPackageManager.ps1 +++ b/functions/private/Test-WinUtilPackageManager.ps1 @@ -2,7 +2,7 @@ function Test-WinUtilPackageManager { <# .DESCRIPTION - Checks for Winget or Choco depending on the paramater + Checks for Winget or Choco depending on the parameter #> diff --git a/functions/public/Invoke-WPFControlPanel.ps1 b/functions/public/Invoke-WPFControlPanel.ps1 index 07ecbe6a17..6bd791d92e 100644 --- a/functions/public/Invoke-WPFControlPanel.ps1 +++ b/functions/public/Invoke-WPFControlPanel.ps1 @@ -2,7 +2,7 @@ function Invoke-WPFControlPanel { <# .DESCRIPTION - Simple Switch for lagacy windows + Simple Switch for legacy windows #> param($Panel) diff --git a/functions/public/Invoke-WPFFixesNetwork.ps1 b/functions/public/Invoke-WPFFixesNetwork.ps1 index 782b86dbd7..614c0567e3 100644 --- a/functions/public/Invoke-WPFFixesNetwork.ps1 +++ b/functions/public/Invoke-WPFFixesNetwork.ps1 @@ -6,7 +6,7 @@ function Invoke-WPFFixesNetwork { #> - Write-Host "Reseting Network with netsh" + Write-Host "Resetting Network with netsh" Start-Process -NoNewWindow -FilePath "netsh" -ArgumentList "winsock", "reset" Start-Process -NoNewWindow -FilePath "netsh" -ArgumentList "winhttp", "reset", "proxy" Start-Process -NoNewWindow -FilePath "netsh" -ArgumentList "int", "ip", "reset" diff --git a/functions/public/Invoke-WPFFixesUpdate.ps1 b/functions/public/Invoke-WPFFixesUpdate.ps1 index b3d14ba20c..c23449acd8 100644 --- a/functions/public/Invoke-WPFFixesUpdate.ps1 +++ b/functions/public/Invoke-WPFFixesUpdate.ps1 @@ -7,7 +7,7 @@ function Invoke-WPFFixesUpdate { #> - ### Reset Windows Update Script - reregister dlls, services, and remove registry entires. + ### Reset Windows Update Script - reregister dlls, services, and remove registry entries. Write-Host "1. Stopping Windows Update Services..." Stop-Service -Name BITS Stop-Service -Name wuauserv diff --git a/functions/public/Invoke-WPFInstallUpgrade.ps1 b/functions/public/Invoke-WPFInstallUpgrade.ps1 index 0e49cf0d7d..8e5e31f172 100644 --- a/functions/public/Invoke-WPFInstallUpgrade.ps1 +++ b/functions/public/Invoke-WPFInstallUpgrade.ps1 @@ -13,7 +13,7 @@ function Invoke-WPFInstallUpgrade { } if(Get-WinUtilInstallerProcess -Process $global:WinGetInstall){ - $msg = "Install process is currently running. Please check for a powershell window labled 'Winget Install'" + $msg = "Install process is currently running. Please check for a powershell window labeled 'Winget Install'" [System.Windows.MessageBox]::Show($msg, "Winutil", [System.Windows.MessageBoxButton]::OK, [System.Windows.MessageBoxImage]::Warning) return } diff --git a/functions/public/Invoke-WPFTab.ps1 b/functions/public/Invoke-WPFTab.ps1 index 0c95d25802..2197695693 100644 --- a/functions/public/Invoke-WPFTab.ps1 +++ b/functions/public/Invoke-WPFTab.ps1 @@ -3,7 +3,7 @@ function Invoke-WPFTab { <# .DESCRIPTION - Sole purpose of this fuction reduce duplicated code for switching between tabs. + Sole purpose of this function is to reduce duplicated code for switching between tabs. #> diff --git a/lint/PSScriptAnalyser.ps1 b/lint/PSScriptAnalyser.ps1 index 6c075ff74b..129f35de26 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', @@ -14,7 +14,7 @@ 'PSReservedParams', 'PSShouldProcess', 'PSUseApprovedVerbs', - 'PSUseDeclaredVarsMoreThanAssigments') + 'PSUseDeclaredVarsMoreThanAssignments') #> # Do not analyze the following rules. Use ExcludeRules when you have # commented out the IncludeRules settings above and want to include all diff --git a/scripts/start.ps1 b/scripts/start.ps1 index 791427c71a..3e7d803ed5 100644 --- a/scripts/start.ps1 +++ b/scripts/start.ps1 @@ -20,7 +20,7 @@ $sync.ProcessRunning = $false if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { - Write-Output "Winutil needs to be ran as Administrator. Attempting to relaunch." + Write-Output "Winutil needs to be run as Administrator. Attempting to relaunch." Start-Process -Verb runas -FilePath powershell.exe -ArgumentList "iwr -useb https://christitus.com/win | iex" break } diff --git a/xaml/inputXML.xaml b/xaml/inputXML.xaml index d8a490e73d..c154d14d2a 100644 --- a/xaml/inputXML.xaml +++ b/xaml/inputXML.xaml @@ -449,16 +449,16 @@