Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

How would I go about calling a script that has a gui?

$
0
0

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.


Viewing all articles
Browse latest Browse all 8793

Latest Images

Trending Articles



Latest Images