CM12 - Restore packages from SCCMContentLib

This PowerShell script will generate a Windows form Which will allow you to retrieve the sources of your packages from the SCCMContentlib folder.

5 Star
888 times
Add to favorites
System Center
E-mail Twitter Digg Facebook
  • Small error in script
    1 Posts | Last post October 19, 2016
    • First thanks for this, on a very remote site this saved a lot of bandwidth when the server fell over.
      There is a small issue when restoring ini files in that the ini suffix is stripped: 
      line 215: $PathCopy = $PathCopy -replace ".ini",""
      Should read
      $PathCopy = $PathCopy -replace ".ini$",""
  • Rights
    2 Posts | Last post April 08, 2015
    • Hi, what kind or rights do you need to use the tool?
    • Hi Lalanc01,
      You have to execute on a DP locally. Then, you need access to the registry to loate the path of the content lib, and read rights on the Content Lib itself.
      Gregory B