My company needs to automate WSUS Offline Updates installation (since reboot and recall doesn't work anymore).
I wrote a PowerShell script that asks for credentials and maps network drive where WSUS Offline updates are located.
Then there is a batch script that needs to run WSUS updates. WSUS batch must be ran as administrator.
When I run batch (as user or as administrator), I get the error below.
'"W:\Window update\Current_Updates\update.bat"' is not recognized as an internal or external command,
operable program or batch file.
The path is correct and I can run update.bat manually from File Explorer.
Please, help.
Thank you