I am testing Server 2008 Core and cannot get the script at http://msdn.microsoft.com/en-us/library/aa387102(VS.85).aspx
to work properly. It runs fine up to the point where it asks if I want to install the updates if found, I must answer Y/N but the dialog box only has OK. Y or N on the kb has no affect and clinking OK gives me a script error for line 61 (where it asks for my Y or N input), the error is "the handle is invalid".
Why is my dialog box coming up with just OK when it should be Yes or No? The relevant code is below, all of the code is at the link above.
WScript.Echo vbCRLF & "Would you like to install updates now? (Y/N)"
strInput = WScript.StdIn.Readline
If (strInput = "N" or strInput = "n") Then
ElseIf (strInput = "Y" or strInput = "y") Then
WScript.Echo "Installing updates..."