Use the below SQL command to list all SQL server jobs USE [msdb] select spider.name, steps.step_id, steps.step_name, steps.command from Read More Export SQL Agent jobs with steps and scripts using SQL Command