Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Using PowerShell to install Windows Updates.

$
0
0
  1. I work on a network with no internet connectivity, no WSUS, & no SCCM
  2. I manually download all Microsoft/JAVA/Adobe updates, burn to a DVD, and then place in on a SAN for patching.
  3. I remote to all systems to install patches.

What I'd like to be able to do is use power shell remotely to install the updates.  I currently run the following PowerShell command to install Microsoft MSU, MSI, and EXE files while logged on to a workstation:

ls*.msu | %{start -wait $_-argumentlist '/quiet /norestart'}

ls*.msi | %{start -wait $_-argumentlist '/quiet /norestart'}

ls*.exe | %{start -wait $_-argumentlist '/quiet /norestart'}

 

I'm not able to run the above command to install JAVA or Adobe updates.

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles