use dy2021 select 'powershell.exe -ExecutionPolicy Bypass -File c:\tco\gatcs\create_pdf\create_prebill.ps1 -cPROPERTYKEY '+convert(varchar(10),propertykey) from property where proptype='M'