My ex coworker created a job that calls a maintenance plan. I'm trying to figure out how to generate the T-SQL statement for the plan.
EXECUTE master.dbo.xp_sqlmaint N'-PlanID 35ec61d0-10bc-4be1-8d21-6a5e15cb5fe7 -Rpt "D:\MSSQL\BACKUP\LOG\All DB Maint4.txt" -DelTxtRpt 3DAYS -WriteHistory -VrfyBackup -BkUpMedia DISK -BkUpDB "D:\MSSQL\BACKUP" -DelBkUps 1DAYS -BkExt "BAK"'