Search found 28 matches

by Chris.Ediger
Fri Jan 05, 2018 1:25 pm
Forum: Windows PowerShell
Topic: Script doesn't work when compiled to .exe
Replies: 26
Views: 5120

Re: Script doesn't work when compiled to .exe

Are you sure you are compiling exactly the same way? Is there a way to see how I compiled previous scripts? I've been using PSS for only a few months now and I'm not totally sure how to manage the settings on the packager. I'm fairly certain I did V5 Host (Windows Application) or V5 Host (Windows)....
by Chris.Ediger
Fri Jan 05, 2018 12:40 pm
Forum: Windows PowerShell
Topic: Script doesn't work when compiled to .exe
Replies: 26
Views: 5120

Re: Script doesn't work when compiled to .exe

Perhaps your firewall is blocking the connection. Be sure the EXE is allowed outbound connections. To quickly test disable the firewall and test. Here is something I probably should have shared. I have other scripts that use Get-ADUser in the same way and they work just fine after I compiled them. ...
by Chris.Ediger
Fri Jan 05, 2018 12:25 pm
Forum: Windows PowerShell
Topic: Script doesn't work when compiled to .exe
Replies: 26
Views: 5120

Re: Script doesn't work when compiled to .exe

Thank you.
When you say check the settings are you talking about the script packager settings? The Script Engine settings for example?
by Chris.Ediger
Fri Jan 05, 2018 10:29 am
Forum: Windows PowerShell
Topic: Script doesn't work when compiled to .exe
Replies: 26
Views: 5120

Re: Script doesn't work when compiled to .exe

Tried that, same behavior.
by Chris.Ediger
Fri Jan 05, 2018 9:58 am
Forum: Windows PowerShell
Topic: Script doesn't work when compiled to .exe
Replies: 26
Views: 5120

Script doesn't work when compiled to .exe

Product, version and build: PowerShell Studio 2017, v5.4.145 32 or 64 bit version of product: 64 bit Operating system: Windows 10 1709 32 or 64 bit OS: 64 bit I have a script that works great when I run it from within Studio but when I compile it into an .exe it fails. Error initializing default dri...
by Chris.Ediger
Wed Dec 13, 2017 12:53 pm
Forum: PowerShell GUIs
Topic: How to open a new form from a form
Replies: 6
Views: 1477

Re: How to open a new form from a form

Are there any how-tos or examples out there for this?
by Chris.Ediger
Wed Dec 13, 2017 11:05 am
Forum: PowerShell GUIs
Topic: How to open a new form from a form
Replies: 6
Views: 1477

Re: How to open a new form from a form

What if I didn't create it as a project? I Just did a new form. Can I convert it to a project?
by Chris.Ediger
Wed Dec 13, 2017 9:13 am
Forum: PowerShell GUIs
Topic: How to open a new form from a form
Replies: 6
Views: 1477

How to open a new form from a form

Trying to figure out how to open a new form from within a current form if a certain condition exists. For example: I am making a tool that displays user information gathered from get-ADUser -Properties *. If the tool user selects the property "LockedOut" and the value is $true, I want to open a new ...