Skip to content

Powershell to translate update Package ID to actual Software update

Featured Replies

SCCM Status Message 10025 tells me  a computer has a problem:

Download of the content "666e73df-99fa-4ceb-8f87-c428cf173384" - "1" has failed..
Possible cause: The content can not be found on the network, or the content could not be accessed.

Package ID : 666e73df-99fa-4ceb-8f87-c428cf173384
Client SMS Unique ID : GUID:B2C5EE67-9B68-4539-AF4B-DF9D6B6DE90A


If I have a look at the updates store log on the specific computer having a problem , I can now see what the update is that is failing:

Queried Update (666e73df-99fa-4ceb-8f87-c428cf173384): Status=Missing, Title=Update for Windows 7 for x64-based Systems (KB2952664), BulletinID=, QNumbers=2952664, LocaleID=, ProductID=cd5ffd1e-e932-4e3a-bf74-18bf0b1bbd83, UpdateClassification = cd5ffd1e-e932-4e3a-bf74-18bf0b1bbd83, ExcludeForStateReporting=FALSE.


My question is , how in powershell can I use the SCCM Cmdlets  or WIM queries to the Primary server ( I have one site only and DPs) to translate "666e73df-99fa-4ceb-8f87-c428cf173384" through to the Product ID "cd5ffd1e-e932-4e3a-bf74-18bf0b1bbd83" or Title "Update for Windows 7 for x64-based Systems (KB2952664)" or something similar.

I wish to avoid any SQL queries if possible

  • Author

OK so I found this by poking around WMI Get-

Get-WmiObject -Namespace root\sms\site_$SiteCode -ComputerName $SiteServer -class SMS_content -filter "ContentUniqueID = '666e73df-99fa-4ceb-8f87-c428cf173384' "

So I can get back a content ID and a Security Key that looks like a package

 

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.