Calculate the size of multiple packages in ConfigMgr

This Powershell script can be used to calculate package sizes for multiple packages in ConfigMgr.  You can select which package/s you want to calculate the sizes for in a window, or optionally select a console folder and calculate the total size of all packages in that folder.Th

 
 
 
 
 
(0)
530 times
Add to favorites
System Center
10/16/2015
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • -computername
    2 Posts | Last post October 16, 2015
    • $siteserver is not used. thus the script needs to run on primary server... 
      
      if you change the "gwmi -namespace \\root..." to "gwmi -computername $siteserver -namespace \\root\" would allow the script to run from a remote computer
    • True indeed.  I think I had planned to do that but didn't get around to it.  Thanks for pointing it out!
  • TS references
    2 Posts | Last post June 03, 2015
    • Is it possible to gather the sizes for all packages referred by a OS deployment task sequence? Our packages are not in a single folder.
    • Yes it's possible, not with this script, but I just made a post about how to do that here: https://smsagent.wordpress.com/2015/06/03/calculate-the-total-size-of-all-packages-in-a-configmgr-task-sequence/
      :)