diff --git a/functions/private/Invoke-WinUtilUninstallPSProfile.ps1 b/functions/private/Invoke-WinUtilUninstallPSProfile.ps1 index 4d3cff9f..72272993 100644 --- a/functions/private/Invoke-WinUtilUninstallPSProfile.ps1 +++ b/functions/private/Invoke-WinUtilUninstallPSProfile.ps1 @@ -62,7 +62,7 @@ function Invoke-WinUtilUninstallPSProfile { } } } catch { - Write-Host "Error removing registry keys: $($_.exception.message)" -foregroundcolor red + Write-Host "Error removing registry keys: $($_.exception.message)" -ForegroundColor Red } }