I have a large .ps1 file that performs a bunch of Active Directory functions and I’ve added a gui to make it easier to use.
I keep having to open the code within the ISE and hit play to start the gui.
Calling the .ps1 file from command line throws a lot of errors.
You cannot call a method on a null-valued expression.
Is there a more convenient way than pasting the code into the ISE everytime?
submitted by /u/WireNarc
[link] [comments]
The post How would I go about calling a script that has a gui? appeared first on How to Code .NET.