If you haven’t already messed around with WSB files, I would encourage them for more complicated use cases.
https://docs.microsoft.com/en-us/windows/security/threat-pro...
The WinGet github repository has some scripts to setup and install programs inside.