#Stops edge from taking over as the default .PDF viewer
#Stops edge from taking over as the default .PDF viewer
@ -719,6 +747,7 @@ $Ask = 'The following will allow you to either Debloat Windows 10 or to revert c
$EverythingorSpecific="Would you like to remove everything that was preinstalled on your Windows Machine? Select Yes to remove everything, or select No to remove apps via a blacklist."
$EverythingorSpecific="Would you like to remove everything that was preinstalled on your Windows Machine? Select Yes to remove everything, or select No to remove apps via a blacklist."
$EdgePdf="Do you want to stop edge from taking over as the default PDF viewer?"
$EdgePdf="Do you want to stop edge from taking over as the default PDF viewer?"
$EdgePdf2="Do you want to revert changes that disabled Edge as the default PDF viewer?"
$EdgePdf2="Do you want to revert changes that disabled Edge as the default PDF viewer?"
$XboxGameDVR="Do you want to disable Xbox GameDVR?"
$Reboot="For some of the changes to properly take effect it is recommended to reboot your machine. Would you like to restart?"
$Reboot="For some of the changes to properly take effect it is recommended to reboot your machine. Would you like to restart?"
$OneDriveDelete="Do you want to uninstall One Drive?"
$OneDriveDelete="Do you want to uninstall One Drive?"
$Unpin="Do you want to unpin all items from the Start menu?"
$Unpin="Do you want to unpin all items from the Start menu?"
@ -794,6 +823,9 @@ Switch ($Prompt1) {
DisableDiagTrack
DisableDiagTrack
Write-Host"Diagnostics Tracking Service disabled"
Write-Host"Diagnostics Tracking Service disabled"
Start-Sleep1
Start-Sleep1
DisableXboxGameDVR
Write-Host"Disabled Xbox GameDVR"
Start-Sleep1
Write-Host"Disabling WAP push service"
Write-Host"Disabling WAP push service"
Start-Sleep1
Start-Sleep1
DisableWAPPush
DisableWAPPush
@ -813,9 +845,20 @@ Switch ($Prompt1) {
Write-Host"You chose not to stop Edge from taking over as the default PDF viewer."
Write-Host"You chose not to stop Edge from taking over as the default PDF viewer."