Update Windows10DebloaterGUI.ps1

pull/82/head
Richard Newton 6 years ago committed by GitHub
parent d44a26029e
commit 1d25c80dda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1151,7 +1151,7 @@ $RemoveRegkeys.Add_Click( {
Write-Host "Additional bloatware keys have been removed! `n"
})
$RemoveOnedrive.Add_Click( {
Write-Output "Checking for pre-existing files located in the OneDrive folders..."
Write-Output "Checking for pre-existing files and folders located in the OneDrive folders..."
Start-Sleep 1
If (Get-Item -Path "$env:USERPROFILE\OneDrive\*") {
Write-Output "Files found within the OneDrive folder! Checking to see if a folder named OneDriveBackupFiles exists."
@ -1169,7 +1169,7 @@ $RemoveOnedrive.Add_Click( {
}
Start-Sleep 1
Move-Item -Path "$env:USERPROFILE\OneDrive\*" -Destination "$env:USERPROFILE\Desktop\OneDriveBackupFiles" -Force
Write-Output "Successfully moved all files from your OneDrive folder to the folder 'OneDriveBackupFiles' on your desktop."
Write-Output "Successfully moved all files/folders from your OneDrive folder to the folder 'OneDriveBackupFiles' on your desktop."
Start-Sleep 1
Write-Output "Proceeding with the removal of OneDrive."
Start-Sleep 1

Loading…
Cancel
Save