function Invoke-WinUtilUninstallPSProfile { if (Test-Path ($Profile + ".bak")) { Move-Item -Path ($Profile + ".bak") -Destination $Profile } else { Remove-Item -Path $Profile } Write-Host "Successfully uninstalled CTT PowerShell Profile." -ForegroundColor Green }