Support Forums

Search found 5898 matches

by Alexander Riedel
Thu Dec 29, 2016 4:41 pm
Forum: PowerShell Studio
Topic: Code works in ISE but not powershell studio?
Replies: 3
Views: 98

Re: Code works in ISE but not powershell studio?

Without seeing your actual code in context it is hard to tell what you do. I assume from your post that this is hand written forms code and not generated by PowerShell Studio. At any rate, it can never be that PowerShell Studio does not "like" this or that code. In the end, your code is al...
by Alexander Riedel
Thu Dec 29, 2016 12:00 pm
Forum: PowerShell Studio
Topic: Code works in ISE but not powershell studio?
Replies: 3
Views: 98

Re: Code works in ISE but not powershell studio?

"Doesn't work" is not something that is easy to diagnose. Does the handler even get called? Take the pipeline statement apart and see where it fails. Most commonly, since the ISE runs by default elevated, it is a permission issue. For example your x drive may not be accessible for a non-el...
by Alexander Riedel
Tue Dec 27, 2016 11:33 pm
Forum: Trial Software / Pre-sales Technical Questions
Topic: Validate 2 Text Boxes
Replies: 4
Views: 817

Re: Validate 2 Text Boxes

Ok, two things. Don't write "PIN Number" :D PIN = Personal Identification Number. So "PIN Number" is "Personal Identification Number Number" ;-) Now for your loop. You do a forever loop in the $buttonSUBMIT_Click handler, never giving the user another chance to enter an...
by Alexander Riedel
Tue Dec 27, 2016 10:32 am
Forum: PowerShell Studio
Topic: Workflows
Replies: 7
Views: 326

Re: Workflows

Regarding "This is not accepted." Please provide the actual Powershell error message. It usually would be shown in the debug or output window of PowerShell Studio. "In fact I get "red" under many different parts of my Workflow code". Please provide a screenshot so we ca...
by Alexander Riedel
Sat Dec 24, 2016 11:24 am
Forum: PowerShell Studio
Topic: Powershell Script Deployment for any Version of .NET not possible?
Replies: 1
Views: 130

Re: Powershell Script Deployment for any Version of .NET not possible?

The "Any platform" option was targeted at 32 AND 64 bit executables, which is simply not working correctly due to PowerShell being tied to a specific platform itself. Any .NET assembly (executable files are also just assemblies) uses .NET runtime assemblies as reference. They are generally...
by Alexander Riedel
Thu Dec 22, 2016 11:44 am
Forum: PrimalScript
Topic: Will PrimalScript do runas in this scenario?
Replies: 4
Views: 322

Re: Will PrimalScript do runas in this scenario?

Its not that complicated. I will write a blog post :D
by Alexander Riedel
Thu Dec 22, 2016 11:32 am
Forum: PrimalScript
Topic: Will PrimalScript do runas in this scenario?
Replies: 4
Views: 322

Re: Will PrimalScript do runas in this scenario?

It sounds like you are referring to our script packager. Yes, you can package scripts to run as a different user and/or elevated. Generally processes launched from these scripts then are also running under the new credentials so you should be able to accomplish what you want. Please be aware that go...
by Alexander Riedel
Thu Dec 22, 2016 11:15 am
Forum: Trial Software / Pre-sales Technical Questions
Topic: VMware Snapins show in Objec Browser, cmdlet Hints but not recognized as a name of cmdlet
Replies: 10
Views: 2026

Re: VMware Snapins show in Objec Browser, cmdlet Hints but not recognized as a name of cmdlet

Well, this isn't PowerGui. :D The runspace is new everytime you run a script. This is done precisely to avoid problems you are facing now. You have a dependency on a snapin. Your code relies on this being loaded and initialized in a session or it won't work. Since PowerShell Studio uses a new runspa...
by Alexander Riedel
Thu Dec 22, 2016 10:40 am
Forum: Trial Software / Pre-sales Technical Questions
Topic: VMware Snapins show in Objec Browser, cmdlet Hints but not recognized as a name of cmdlet
Replies: 10
Views: 2026

Re: VMware Snapins show in Objec Browser, cmdlet Hints but not recognized as a name of cmdlet

"I try the same in PowerShell studio 2016 but I keep getting that it can't recognize the cmdlet."
How exactly are you doing this in PowerShell Studio? Are you running this in the embedded console? Added the statement to your script?

Go to advanced search