SCCM: What Package is That?

Published on
4,245 Points
2 Endorsements
Last Modified:
Chris Nienaber
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:


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:


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.

Ask questions about what you read
If you have a question about something within an article, you can receive help directly from the article author. Experts Exchange article authors are available to answer questions and further the discussion.
Get 7 days free