SCCM Package and Collection Folder path location

Boopathi Subramaniam 3,196 Reputation points
2021-08-18T14:32:49.423+00:00

Hi,

Please help on the below.

  1. Powershell command to get source path location of the given package ID
  2. Powershell command to get Folder Path of an Application/Package/Drive of the given package ID
  3. Powershell command to get Folder Path of a collection based on the Collection ID
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,354 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

Accepted answer
  1. Amandayou-MSFT 11,046 Reputation points
    2021-08-19T09:21:35.393+00:00

    Hi @Boopathi Subramaniam ,

    Powershell command to get source path location of the given package ID

    Get-CMPackage -Id "PRI0001E"

    Here is the result after running the commandlets:

    124605-8194.png

    And the question 2 and question 3, I need to do some research further and I will come back as soon as possible. Please keep us in touch if there are any updates of the case.

    Thanks for your understanding and cooperation.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Garth Jones 1,656 Reputation points MVP
    2021-08-18T15:39:42.913+00:00

    Here is a list of all of the powershell commandlets, it will get you started. https://learn.microsoft.com/en-us/powershell/sccm/overview?view=sccm-ps

    0 comments No comments

  2. Boopathi Subramaniam 3,196 Reputation points
    2021-08-19T12:01:05.85+00:00

    Hello Amandayou
    Thanks.

    0 comments No comments