I am trying to deploy a SharePoint 2010 reusable workflow through SharePoint Designer 2013. Currently I am doing the below steps:
- open the site in SharePoint Designer 2013 [ http://serevr1:123/sites/engineering ]
upload the workflow template[ myworkflowtemplate.wsp ] file in the solutions gallery and activate the same [ using import files option in SPD ]
right click on the wf and click edit the workflow
click on the ribbon in SPD's "publish the workflow globally"
associate the WF to "mycustomcontenttype"
can anyone please help how this can be achieved using power shell. help is appreciated.