github farag2/Sophia-Script-for-Windows 4.0.27
18.03.2020

latest releases: 6.6.7, 6.6.6, 6.6.5...
4 years ago
  • "Uninstall OneDrive" section

    • Now even after restarting File Explorer your opened folders will be restored
  • "Uninstall all UWP apps from all accounts, except the followings..." section

  • "Uninstall all provisioned UWP apps from System account, except the followings..." section

    • Now displays progress bar while uninstalling
  • Deleted "Checking whether the script was saved in UTF-8 with BOM encoding if it runs locally" section

    • There is no way for PowerShell to automatically determine the file encoding
    • Anyway this code checks the encoding
    if ($PSCommandPath)
    {
         $bytes = Get-Content -Path $PSCommandPath -Encoding Byte -Raw
         # https://tools.ietf.org/html/rfc3629#section-6
         if ($bytes[0] -ne 239 -and $bytes[1] -ne 187 -and $bytes[2] -ne 191)
         {
              Write-Warning -Message "The script wasn't saved in `"UTF-8 with BOM`" encoding"
              break
         }
    }
  • Comments

  • Minor changes.

Don't miss a new Sophia-Script-for-Windows release

NewReleases is sending notifications on new releases.