From 60a94659a7ff34a79984b07853dd7d3efa3f1e8c Mon Sep 17 00:00:00 2001 From: "Robert M. Smith" Date: Sat, 27 Aug 2022 15:08:14 -0400 Subject: [PATCH] Changed message text --- Windows_VDOT.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windows_VDOT.ps1 b/Windows_VDOT.ps1 index edf2613..57b3a0e 100644 --- a/Windows_VDOT.ps1 +++ b/Windows_VDOT.ps1 @@ -151,7 +151,7 @@ PROCESS { Write-EventLog -Message "No Optimizations (Optimizations or AdvancedOptimizations) passed, exiting script!" -Source 'VDOT' -EventID 100 -EntryType Error -LogName 'Virtual Desktop Optimization' $Message = "`nThe Optimizations parameter no longer defaults to 'All', you must explicitly pass in this parameter.`nThis is to allow for running 'AdvancedOptimizations' separately " Write-Host " * " -ForegroundColor black -BackgroundColor yellow -NoNewline - Write-Host " Breaking Change " -ForegroundColor Yellow -BackgroundColor Red -NoNewline + Write-Host " Important " -ForegroundColor Yellow -BackgroundColor Red -NoNewline Write-Host " * " -ForegroundColor black -BackgroundColor yellow -NoNewline Write-Host $Message -ForegroundColor yellow -BackgroundColor black Return