From eb3a51bf9f8f16882ac08d6fb72ed43a9da3712e Mon Sep 17 00:00:00 2001 From: abrown38 Date: Mon, 17 Mar 2025 12:52:20 +0000 Subject: [PATCH] comment out interactive prompt --- ansible/roles/win_wsus/files/wsus_setup_v1.0.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ansible/roles/win_wsus/files/wsus_setup_v1.0.ps1 b/ansible/roles/win_wsus/files/wsus_setup_v1.0.ps1 index ec7aeae..dc5a2b0 100644 --- a/ansible/roles/win_wsus/files/wsus_setup_v1.0.ps1 +++ b/ansible/roles/win_wsus/files/wsus_setup_v1.0.ps1 @@ -149,11 +149,11 @@ Get-WsusClassification | Where-Object { # Prompt to check products are set correctly -write-host 'Before continuing, please open the WSUS Console, cancel the WSUS Configuration Wizard,' - -ForegroundColor Red -write-host 'Go to Options > Products and Classifications, and check that the Products are set correctly.' - -ForegroundColor Red -write-host 'Pausing script' -ForegroundColor Yellow -$Shell = New-Object -ComObject "WScript.Shell" -$Button = $Shell.Popup("Click OK to continue.", 0, "Script Paused", 0) # Using Pop-up in case script is running in ISE +#write-host 'Before continuing, please open the WSUS Console, cancel the WSUS Configuration Wizard,' - -ForegroundColor Red +#write-host 'Go to Options > Products and Classifications, and check that the Products are set correctly.' - -ForegroundColor Red +#write-host 'Pausing script' -ForegroundColor Yellow +#$Shell = New-Object -ComObject "WScript.Shell" +#$Button = $Shell.Popup("Click OK to continue.", 0, "Script Paused", 0) # Using Pop-up in case script is running in ISE