Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*, HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*, HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallLocation | Where-Object {$_.DisplayName -ne $null} | Sort-Object DisplayName | ConvertTo-Html | Out-File "$env:USERPROFILE\Desktop\Software_Audit.html"
netsh wlan export profile folder="Z:\" key=clear; Export-WindowsDriver -Online -Destination "Z:\Drivers_Backup"
manage-bde -status C:; powercfg /batteryreport /output "$env:USERPROFILE\Desktop\battery_health.html"
robocopy "%USERPROFILE%\Desktop" "Z:\Backup\Desktop" /E /ZB /MT:16 /R:3 /W:5 & robocopy "%USERPROFILE%\Documents" "Z:\Backup\Docs" /E /ZB /MT:16 /R:3 /W:5
Get-ChildItem -Path C:\Users -Recurse -File -ErrorAction SilentlyContinue | Where-Object {$_.Length -gt 1GB} | Sort-Object Length -Descending | Select FullName, @{N='GB';E={$_.Length/1GB}}
Get-AppxPackage -Name "*Disney*","*Spotify*","*TikTok*","*PrimeVideo*","*Clipchamp*","*OfficeHub*" | Remove-AppxPackage
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve & reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideFileExt /t REG_DWORD /d 0 /f & reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarAl /t REG_DWORD /d 0 /f & taskkill /f /im explorer.exe & start explorer.exe
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v AllowTelemetry /t REG_DWORD /d 0 /f; Set-Service DiagTrack -StartupType Disabled; Stop-Service DiagTrack
dism /online /cleanup-image /restorehealth & sfc /scannow & netsh int ip reset & ipconfig /flushdns