With AI, writing scripts is easier than ever. Deploying them into production isn't as easy. Because the AI needs to know what you want, this can be tricky as there are so many choices to make! Do I use Azure Functions, Duarble Functions, Container Instances, Azure Batch, AKS CronJob, Azure Automation Runbooks, Logic Apps? ahhh, I just want this to run in production.
To give it a shot, install uv, then:
uv tool install pdt-cli
uv tool update-shell
pdt init jobs
cd jobs
pdt run hello-world # runs locally
pdt deploy hello-world # runs on cloud
pdt new hello --from powershell-hello-world # give powershell a shot
PDT gives you a standard set of primitives to use for scheduling, secrets, storage, logs, and alerts. This means you already know how to track state, where to drop the file you wanted to drop, how to know when the job fails, and how to answer all the other orchestration-related questions.