networking - Pushing Windows Updates Via Powershell -


i trying install windows updates via powershell due amount of computers need patch.

i use following syntax;

enter-pssession pcname-pc 

once session connected use following;

wusa.exe c:\temp\update.msu /quiet /norestart /log:c:\wusa.log 

the issue @ hand, nothing happens , keep getting access denied every time. powershell ran admin, local user of computer admin. have tried running script allowed session connect domain admin, same results.

any in matter appreciated. thanks

the remote use of windows update agent api restricted. there several workarounds revolve around starting process locally. either through launching process through wmi vitaly notes in comments or creating scheduled task.


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -