PowerShell: Export all ConfigMgr 2012 R2 task sequences

Here’s a quick script that will export all of your task sequences in ConfigMgr 2012 R2: ]—-code Import-Module ‘F:\Program Files\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1’ CD ‘F:\Program Files\Microsoft Configuration Manager\AdminConsole\bin’ CD CM0:       #Change ‘CM0’ to your site code $ts = Get-CMTaskSequence foreach ($t in $ts){      $path = “F:\TaskSequenceBackups”      $exportname = $t.Name +”.zip”      Export-CMTaskSequence -TaskSequencePackageId $t.PackageID…

2