From 2626f6a50049e2bdc4af5f11c051c7ffced5281e Mon Sep 17 00:00:00 2001 From: uhlwoogi Date: Sun, 3 Aug 2025 15:57:08 -0500 Subject: [PATCH] Update Tadco_Setup_Script.ps1 Removed the WiFi Setup --- Tadco_Setup_Script.ps1 | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/Tadco_Setup_Script.ps1 b/Tadco_Setup_Script.ps1 index 3dbefb0..f383e78 100644 --- a/Tadco_Setup_Script.ps1 +++ b/Tadco_Setup_Script.ps1 @@ -32,45 +32,6 @@ function Log { Log "Starting Tadco setup script..." -# Step 1: Connect to WiFi (if not already done) -if (-not (Select-String -Path $logFile -Pattern "WIFI_CONNECTED" -Quiet)) { - $SSID = "[UHL]WiFi" - $Password = "uhl4life" - Log "Creating WiFi profile for SSID: $SSID" - $profileXml = @" - - - $SSID - - - $SSID - - - ESS - auto - - - - WPA2PSK - AES - false - - - passPhrase - false - $Password - - - - -"@ - $profilePath = "$env:TEMP\WiFiProfile.xml" - $profileXml | Set-Content -Path $profilePath -Encoding UTF8 - netsh wlan add profile filename="$profilePath" | Out-Null - netsh wlan connect name="$SSID" | Out-Null - Start-Sleep -Seconds 10 - Log "WIFI_CONNECTED" -} # Step 2: Set sleep timeout if (-not (Select-String -Path $logFile -Pattern "SLEEP_CONFIGURED" -Quiet)) {