Skip to content

Commit

Permalink
More Grammar and Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Carterpersall committed Oct 3, 2023
1 parent 743ef96 commit 2dce434
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 23 deletions.
2 changes: 1 addition & 1 deletion functions/private/Get-WinUtilInstallerProcess.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function Get-WinUtilInstallerProcess {
<#
.DESCRIPTION
Meant to check for running processes and will return a boolean response
Meant to check for running processes, will return a boolean response
#>

Expand Down
5 changes: 2 additions & 3 deletions functions/private/Get-WinUtilRegistry.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ function Get-WinUtilRegistry {
<#
.DESCRIPTION
This function will make all modifications to the registry
Gets the value of a registry key
.EXAMPLE
Set-WinUtilRegistry -Name "PublishUserActivities" -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System" -Type "DWord" -Value "0"
Get-WinUtilRegistry -Name "PublishUserActivities" -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System" -Type "DWord" -Value "0"
#>
param (
Expand Down
2 changes: 1 addition & 1 deletion functions/private/Get-WinUtilToggleStatus.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Function Get-WinUtilToggleStatus {
<#
.DESCRIPTION
Meant to pull the registry keys for a toggle switch and returns true or false
Pulls the registry keys for a toggle switch and returns true or false
True should mean status is enabled
False should mean status is disabled
Expand Down
4 changes: 2 additions & 2 deletions functions/private/Install-WinUtilChoco.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ function Install-WinUtilChoco {
<#
.DESCRIPTION
Function is meant to ensure Choco is installed
Installs Chocolatey if it is not installed
#>

Expand All @@ -16,7 +16,7 @@ function Install-WinUtilChoco {
}

Write-Host "Seems Chocolatey is not installed, installing now?"
# Let user decide if he wants to install Chocolatey
# Let user decide if they want to install Chocolatey
$confirmation = Read-Host "Are you Sure You Want To Proceed:(y/n)"
if ($confirmation -eq 'y') {
Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) -ErrorAction Stop
Expand Down
2 changes: 1 addition & 1 deletion functions/private/Install-WinUtilWinget.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-LatestHash {
$WebClient.DownloadFile($shaUrl, $shaFile)

Get-Content $shaFile
}
}

function Install-WinUtilWinget {

Expand Down
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilBingSearch.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function Invoke-WinUtilBingSearch {
<#
.DESCRIPTION
Sets Bing Search on or off
Disables/Enables Bing Search
#>
Param($Enabled)
Expand Down
4 changes: 1 addition & 3 deletions functions/private/Invoke-WinUtilCurrentSystem.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ Function Invoke-WinUtilCurrentSystem {
<#
.DESCRIPTION
Function is meant to read existing system registry and check according configuration.
Example: Is telemetry enabled? check the box.
Checks to see what tweaks have already been applied, and checks the according boxes
.EXAMPLE
Expand Down
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilDarkMode.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Function Invoke-WinUtilDarkMode {
<#
.DESCRIPTION
Sets Dark Mode on or off
Enables/Disables Dark Mode
#>
Param($DarkMoveEnabled)
Expand Down
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilFeatureInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function Invoke-WinUtilFeatureInstall {
<#
.DESCRIPTION
This function converts all the values from the tweaks.json and routes them to the appropriate function
Converts all the values from the tweaks.json and routes them to the appropriate function
#>

Expand Down
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilScript.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function Invoke-WinUtilScript {
<#
.DESCRIPTION
This function will run a separate powershell script. Meant for things that can't be handled with the other functions
Invokes the provided scriptblock. Intended for things that can't be handled with the other functions
.EXAMPLE
Expand Down
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilTweaks.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function Invoke-WinUtilTweaks {
<#
.DESCRIPTION
This function converts all the values from the tweaks.json and routes them to the appropriate function
Converts all the values from the tweaks.json and routes them to the appropriate function
#>

Expand Down
2 changes: 1 addition & 1 deletion functions/private/Remove-WinUtilAPPX.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function Remove-WinUtilAPPX {
<#
.DESCRIPTION
This function will remove any of the provided APPX names
Removes all APPX packages that match the given name
.EXAMPLE
Expand Down
2 changes: 1 addition & 1 deletion functions/private/Set-WinUtilDNS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function Set-WinUtilDNS {
<#
.DESCRIPTION
This function will set the DNS of all interfaces that are in the "Up" state. It will lookup the values from the DNS.Json file
Sets the DNS of all interfaces that are in the "Up" state. It will lookup the values from the DNS.Json file
.EXAMPLE
Expand Down
2 changes: 1 addition & 1 deletion functions/private/Set-WinUtilRegistry.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function Set-WinUtilRegistry {
<#
.DESCRIPTION
This function will make all modifications to the registry
Modifies the registry based on the given inputs
.EXAMPLE
Expand Down
2 changes: 1 addition & 1 deletion functions/private/Set-WinUtilRestorePoint.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function Set-WinUtilRestorePoint {
<#
.DESCRIPTION
This function will make a Restore Point
Creates a Restore Point
#>

Expand Down
2 changes: 1 addition & 1 deletion functions/private/Set-WinUtilScheduledTask.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function Set-WinUtilScheduledTask {
<#
.DESCRIPTION
This function will enable/disable the provided Scheduled Task
Enables/Disables the provided Scheduled Task
.EXAMPLE
Expand Down
2 changes: 1 addition & 1 deletion functions/private/Set-WinUtilService.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Function Set-WinUtilService {
<#
.DESCRIPTION
This function will change the startup type of services and start/stop them as needed
Changes the startup type of services and starts/stops them as needed
.EXAMPLE
Expand Down
2 changes: 1 addition & 1 deletion functions/private/Set-WinUtilUiTheme.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function Set-WinUtilUITheme {
<#
.DESCRIPTION
This function will set theme to the XAML file
Sets the theme of the XAML file
.EXAMPLE
Expand Down

0 comments on commit 2dce434

Please sign in to comment.