SCCM - real size of package on DP

Ben Wosjke 136 Reputation points
2020-10-08T04:28:05.88+00:00

Hi,
Currently when looking via the GUI at the packages on a DP (go to the DP properties, then the content tab) - a size is reported - which is the size of the package source.

Given this - https://techcommunity.microsoft.com/t5/configuration-manager-archive/software-update-content-cleanup-in-system-center-2012/ba-p/273069

The size of the content for a SU package may not be the same size as the package source.

Contentlibraryexpolorer.exe looks at the content through WMI - which gives a truer representation of actual space used on a DP... but doesnt allow us to check the total size a package is actually using - as it only shows the file size at an individual file level.

Are there any tools or scripts out there that can obtain the actual space used by a specific package (or packages) by looking locally on specified DP's - rather than just using the source folder size ?

Microsoft Configuration Manager
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Fiona Yan-MSFT 2,311 Reputation points
    2020-10-09T07:38:08.867+00:00

    @Ben Wosjke
    Thank you for posting in Microsoft Q&A forum.

    Maybe we could use SQL query to have a try to see the actual size we want to see in it.
    31119-content.png
    For example ,if we want to pull our SU package size, please refer to this excellent article to have a try:
    configuration-manager-update-size
    Note: this is non-official Microsoft article just for your reference.


    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. Ben Wosjke 136 Reputation points
    2020-10-09T20:28:15.347+00:00

    yep... so that still gives me the size of the content from the database.... which doesn't address the question.


  3. Ben Wosjke 136 Reputation points
    2020-10-14T02:01:26.877+00:00

    so... the point of question is that there is no method of checking the size of the update package on the DP.... which you have, in a round about way, confirmed above... but not provided any answers for.

    We can look at each individual file via content explorer, but adding up hundreds of directories individually is not a feasible option.... exporting the entire package also isnt available - so we cant do that as a work around.


  4. Ben Wosjke 136 Reputation points
    2020-10-23T09:07:11.143+00:00

    Please - stop thanking me for my understanding.... i dont understand, nor do i appreciate responses from poorly written customer service manuals that treat customers as morons.

    The correct response is "it cant be done with anything we currently have" - ok, cool... given that the information may be available, as its used by content library explorer (for example) - ill see if i can work out something in PS or c# for it.

    0 comments No comments