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