Thursday, 25 February 2016

Backup SCCM Task Sequences With Scheduled Task+Powershell

Hi All, 


i needed a basic script to backup my task sequences on a schedule. Using powershell to backup your Task Sequences is a much faster way than manually doing it trough the console.

See below code:



Save the code above to a ps1 file, put on your SCCM server and setup a scheduled task to run with the following command: powershell.exe -executionpolicy bypass -file "file.ps1"



End Result:




2 comments:

  1. How large do these backups get? Is everything compressed?

    ReplyDelete
    Replies
    1. Take a look at the file sizes in the photo, uses no memory at all. They are all zipped.

      Delete