Mit dem Cmdlet Export-ScheduledTask.
$exportPath = "C:\tasks\" Get-ScheduledTask | Where-Object { $_.TaskName -like "Berechtigungsaudit_*" } | ForEach-Object { $TaskName = $_.TaskName Export-ScheduledTask -TaskName $TaskName >> $exportPath\$TaskName.xml }