question

BoopathiSubramaniam-6294 avatar image
0 Votes"
BoopathiSubramaniam-6294 asked BoopathiSubramaniam-6294 answered

SCCM Package and Collection Folder path location

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-powershellmem-cm-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Amandayou-MSFT avatar image
0 Votes"
Amandayou-MSFT answered

Hi @BoopathiSubramaniam-6294,

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.



8194.png (5.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

GarthJones-9654 avatar image
0 Votes"
GarthJones-9654 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BoopathiSubramaniam-6294 avatar image
0 Votes"
BoopathiSubramaniam-6294 answered

Hello Amandayou
Thanks.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.