<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

SCCM: What Package is That?

Published on
3,873 Points
673 Views
2 Endorsements
Last Modified:
SCCMCanuck
IT is my life...SCCM my passion! I work full time with SCCM, Exchange, and Windows Server. I have a beautiful family and love Star Trek!
Determining the an SCCM package name from the Package ID

One of the things I find extremely frustrating when troubleshooting a failed task sequence is when I receive an error message similar to the following:


image


I typically see the above error after I have deployed a new distribution point or rebuilt a distribution point and have not distirbuted it. The issue with the above error is…which package is VHL00001? 


Assuming that the package indicated has not been distributed to the necessary DP (as this error can be caused by other things) the above error is less than descriptive. The package could be anywhere in your tree of package folders, as is the case in my environment. It could also be one of numerous types and therefore in multiple locations in your SCCM Console:


  1. Software Package
  2. Application Package
  3. Software Update Package
  4. Driver Package


You could of course waste time by endlessly combing through your package trees looking for the package, however i prefer to use the following PowerShell script for this:


Param(
[Parameter(Mandatory=$True)]
[string]$PackageID
)

cd H48:

Get-CMPackage | where {$_.packageid -eq $PackageID} | FL -Property Name, PackageID
Get-CMApplication | where {$_.packageid -eq $PackageID} | FL -Property LocalizedDisplayName, PackageID
Get-CMSoftwareUpdateDeploymentPackage | where {$_.packageid -eq $PackageID} | FL -Property Name, PackageID
Get-CMDriverPackage | where {$_.packageid -eq $PackageID} | FL -Property Name, PackageID


Where “H48:” is your primary site code. Upon launching the above script you will be prompted for the Package ID number. Simply enter the Package ID number from the error message and it will search all of the differing package types for a matching value.


I use the above PowerShell script constantly. Hopefully it helps you in your SCCM travels.

2
Comment
Author:SCCMCanuck
0 Comments

Featured Post

Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

Join & Write a Comment

This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month