I’ve been looking on google for how to make a custom function in Windows PowerShell so I can simply type run FILENAME and compile and run code, similar to the Mac-Specific section on the module. But I can’t find anything that tells me what I need for Windows. I’ve looked into this article about Profiles, but I’m still lost.
Wondering if someone could help me out with how to write the function and make it work.