Windows CLI Tool (built in swift) running PowerShell Commands

Hi all,

First post, so forgive me if I’ve got this in the wrong spot! :grimacing:

I’ve previously built scripts using Bash and PowerShell, which I’d like to turn into an application that can be compiled and installed on servers. It’s a tool that only needs CLI interaction.

Does this sound feasible to build for Windows with swift? Can I do things like make PowerShell calls from Swift?

Sorry — total newbie @ Switft! Reason for choosing Swift is I do lots of other scripting on Mac that I’m also hoping I can turn into an iPad app, and would prefer to only learn one language! :joy:


1 Like