How to find out each patches location?

Dear All,

I have some question about how to find out the patches location. In my situation, I need to download some Windows Update via WSUS but copy the patches to some servers which are not connected to WSUS. Now I can get the Computer Name and the patches which are need to install on that servers via Powershell.

1. How can I get the UpdateID or FileDigest via Powershell?

2. How can I get the patches location (eg: C:\WSUS\Content\C0\xxxxxxxx)? Which database I need to use if the Powershell cannot show it?

Thanks a lot.

Warm Regards,

Mark_W

July 29th, 2015 3:02am

you may want to first check to see if you can actually copy data from the wsuscontent directory and get them to install as standalone updates as it's not a traditional update package, doesn't quite work the same as the updates found online

regarding the script, the translation of KB article IDs to GUIDs is not very simple, hope you're good with your scripting:

http://blogs.technet.com/b/heyscriptingguy/archive/2012/01/20/get-windows-update-status-information-by-using-powershell.aspx

https://angrytechnician.wordpress.com/2011/04/28/how-to-get-a-list-of-every-wsus-update-using-powershell/

other options are to use the WSUS GUI and search the KB to find the GUID if it's only a few KBs you're looking to work on

or search the update catalog online for the KB and get the GUID from there (it's embedded in the URL when u open up the update to look at its details)

http://catalog.update.microsoft.com

while you're on the update catalog site I would seriously consider just pulling in all the required KBs from there using the bulk download function as it downloads the proper .exe and .msu packages which is very easy to copy to any server and install manually or lumped into scripts


  • Edited by armin19 17 hours 52 minutes ago
  • Marked as answer by LMKYU1834 4 hours 57 minutes ago
  • Unmarked as answer by LMKYU1834 4 hours 13 minutes ago
  • Marked as answer by LMKYU1834 4 hours 13 minutes ago
  • Unmarked as answer by LMKYU1834 4 hours 11 minutes ago
Free Windows Admin Tool Kit Click here and download it now
July 29th, 2015 9:14am

Dear Armin19,

Thanks for your help. I can get the update id now and I found that there a store procedures can help to check the MUURL.

Thanks again.

Warm Regards,

Mark_W

July 29th, 2015 10:08pm

Dear Armin19,

I tried input the UpdateID to that store_proc but nothing find out. Do you have any idea?

Thanks.

Warm Regards,

Mark_W

Free Windows Admin Tool Kit Click here and download it now
July 29th, 2015 10:56pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics