<

Learn how to a build a cloud-first strategyRegister Now

x

SCCM: What Package is That?

Published on
3,540 Points
340 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Join & Write a Comment

Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Suggested Courses

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month