Test 2023 07 27 (#934)

* Updated Edge Removal Script to the more up-to-date one. (#918)

* Update edgeremoval.bat from the original source.

* Added my modifications to the extra cleanup part

* Updates credits for Edge Removal script

* Removed "getfirefox"

* Credit to the original source

* Compile Winutil

* fix typos (#924)

* Compile Winutil

* Remove ooshutup10 "Disable search box in task bar" (#929)

* Compile Winutil

* Fix Panel Glitch and add intl

* Compile Winutil

* Fix Bluetooth services

* Compile Winutil

* fix function

---------

Co-authored-by: Antun Nitraj <antnitraj@gmail.com>
Co-authored-by: ChrisTitusTech <ChrisTitusTech@users.noreply.github.com>
Co-authored-by: AdamJedl <100023363+AdamJedl@users.noreply.github.com>
This commit is contained in:
Chris Titus
2023-08-02 19:43:52 -05:00
committed by GitHub
parent a56aeefc7f
commit 2321c071ee
19 changed files with 95 additions and 74 deletions

View File

@ -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

View File

@ -3,7 +3,7 @@ function Get-WinUtilVariables {
<#
.DESCRIPTION
palceholder
placeholder
#>
param (

View File

@ -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

View File

@ -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
#>

View File

@ -40,6 +40,7 @@ function Invoke-WPFButton {
"WPFPanelcontrol" {Invoke-WPFControlPanel -Panel $button}
"WPFPanelnetwork" {Invoke-WPFControlPanel -Panel $button}
"WPFPanelpower" {Invoke-WPFControlPanel -Panel $button}
"WPFPanelregion" {Invoke-WPFControlPanel -Panel $button}
"WPFPanelsound" {Invoke-WPFControlPanel -Panel $button}
"WPFPanelsystem" {Invoke-WPFControlPanel -Panel $button}
"WPFPaneluser" {Invoke-WPFControlPanel -Panel $button}

View File

@ -2,7 +2,7 @@ function Invoke-WPFControlPanel {
<#
.DESCRIPTION
Simple Switch for lagacy windows
Simple Switch for legacy windows
#>
param($Panel)
@ -11,6 +11,7 @@ function Invoke-WPFControlPanel {
"WPFPanelcontrol" {cmd /c control}
"WPFPanelnetwork" {cmd /c ncpa.cpl}
"WPFPanelpower" {cmd /c powercfg.cpl}
"WPFPanelregion" {cmd /c intl.cpl}
"WPFPanelsound" {cmd /c mmsys.cpl}
"WPFPanelsystem" {cmd /c sysdm.cpl}
"WPFPaneluser" {cmd /c "control userpasswords2"}

View File

@ -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"

View File

@ -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

View File

@ -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
}

View File

@ -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.
#>