Commit cae6b032 authored by Stefan Scherer's avatar Stefan Scherer
Browse files

after exception, add restart registry key and restart computer for openssh install

parent 7e26b8cc
......@@ -193,9 +193,12 @@ function Check-WindowsUpdates() {
} catch {
LogWrite $_.Exception | Format-List -force
LogWrite "Showing SearchResult was unsuccessful. Aborting."
LogWrite "Showing SearchResult was unsuccessful. Rebooting."
LogWrite "Show never happen to see this text!"
} else {
LogWrite 'There are no applicable updates'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment