How can i convert ps1 file into dll file except for PS protector

i mean, is there any free module i can apply to do that. i just want a dll convertion, no need to encrypt it。

Hi leo_smith and welcome to the forums!

From what I’ve researched, although it was a short bit of research, this link provides that it is not possible unless you have a written compiler to perform the conversion. Alternatively, another site suggests writing a DLL in C# or another .NET language and then executing that from PowerShell.

Oh, thanks, Austin. I got it! Have a nice day, dude.