Hello,
Welcome to Microsoft Q&A!
Since you've added the UWP tag, I'll just talk from the UWP side.
First, you want to develop an app which could run your app on Windows 10 -11 and as well as Windows server.
Yes, UWP apps could do that.
Second, you want your app could do some tasks like running scripts.
No, UWP apps can't do that. UWP apps are running in sandbox so UWP apps can't run scripts.
I noticed that you are begining with the Windows App SDK apps. This is the next generation of desktop application technology introduced by Microsoft. It could meets you requirenments.
As @David Lowndes mentioned, you could also try old technologies like WinForms, WPF and Win32/MFC. They have been work for a long time on Windows.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.