You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The most recent update to PSWindowsUpdate has introduced a confirmation prompt when Enable-WURemoting is run. There does not appear to be a -force option, meaning that non-interactive scripts cannot run this command without the following error: Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available.
This currently breaks our automated patching and we're currently working around it by not running this command, but this will cause issues to new systems we bring online.
Can you please add a -force option that can allow this command to run, without confirmation?
Cheers
The text was updated successfully, but these errors were encountered:
Same message also comes up when doing an Update-WUModule
Likely it also triggers Enable-WURemoting
In your case you could try Enable-WURemoting -Confirm:$false
Did not see a promt when testing that way
Update-WUModule has an option to set -confirm:$false, but that does not make a difference for this prompt
Hello
The most recent update to PSWindowsUpdate has introduced a confirmation prompt when
Enable-WURemoting
is run. There does not appear to be a -force option, meaning that non-interactive scripts cannot run this command without the following error:Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available.
This currently breaks our automated patching and we're currently working around it by not running this command, but this will cause issues to new systems we bring online.
Can you please add a -force option that can allow this command to run, without confirmation?
Cheers
The text was updated successfully, but these errors were encountered: