bklockwood / PSWU

PowerShell Windows Update. CLI/scripted windows updates!
MIT License
24 stars 2 forks source link

User runs the install-allupdates module instead of the script that calls it #15

Closed bklockwood closed 9 years ago

bklockwood commented 9 years ago

It's too easy for this to happen. When it happens, the task created will have a path to the module pswu.psm1 rather than the script install-allupdates.ps1. That will not run properly after the system reboots.

(Thanks to 'Q3A' from freenode IRC for reporting this.)

bklockwood commented 9 years ago

The fix: