mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 12:37:21 +00:00
comment out interactive prompt
This commit is contained in:
1 parent
f873bd461a
commit
eb3a51bf9f
1 file changed
+5
-5
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user