Left: an interactive script's menu prompts. Right: where each one went — inputs, actions, template expressions, subscriptions.

Porting a PowerShell deploy script to a catalog item: the mapping table is the post

esxihostdeploy.ps1 was 400 lines of ovftool and PowerCLI behind a menu. It became a cloud template, two vRO actions and two subscriptions — and the interesting part is deciding where each behaviour belongs. The full mapping, four non-obvious decisions, and the ‘yes’ that isn’t ’true’.

16 September 2026 · 5 min · Adam Stretton