So I'm looking for a way to convert .ps1
scripts(using an online tool or whatever that works) to string format so that I can just copy and paste it into my C# code in a string variable.
This will enable me to stop referencing the paths of my scripts in the code as these may change from one computer/user to another.
Thanks!