New Guy

I’m looking at trying to use PADT to upgrade our Citrix environment but to be honest I’m a little lost.

Here is my one liner

Invoke-Command -computer 'appserver.domain.com' -scriptblock {start-process -FilePath "\appserver.domain.com\c$\Users\me\Downloads\XenDesktop 7.15\x64\XenDesktop Setup\XenDesktopVDASetup.exe" -ArgumentList "/noreboot /quiet /components VDA,plugins /masterimage /baseimage /enable_remote_assistance /enable_hdx_ports /optimize /controllers ""ddc.domain.com"" "}

How would I get the above into the template?

Reviving this old thread in case anyones still curious but the toolkit supports everything powershell does plus additional functionality. You just have to add your code into Deploy-Application.ps1.