Search found 6501 matches

by Alexander Riedel
Mon Apr 16, 2018 10:25 am
Forum: Windows PowerShell
Topic: ActiveXPoSH V3 - Return Exit code
Replies: 5
Views: 127

Re: ActiveXPoSH V3 - Return Exit code

Set your variable as needed, e..g $MyExitCode
Then use
exitcode = ActiveXPosh.GetValue("$MyExitCode")
Please note that this is returned as a string. If you need another type you will need to convert it according to your needs.
by Alexander Riedel
Mon Apr 16, 2018 7:01 am
Forum: Windows PowerShell
Topic: Populating Variables in External Text File
Replies: 2
Views: 129

Re: Populating Variables in External Text File

[Topic moved by moderator]
by Alexander Riedel
Sun Apr 15, 2018 11:51 am
Forum: PowerShell GUIs
Topic: ListView subitems not showing in Tile view
Replies: 10
Views: 194

Re: ListView subitems not showing in Tile view

[Topic moved by moderator]
by Alexander Riedel
Thu Apr 12, 2018 2:58 pm
Forum: PowerShell Studio
Topic: PrimalScriptHostImplementation can't read NTFS ADS
Replies: 8
Views: 830

Re: PrimalScriptHostImplementation can't read NTFS ADS

I trimmed down your sample project a little more and it works fine as a script and packaged. See attached I think the main problem is that you use if(!Get-Content -Path $ScriptDirectory -Stream $stream)) { ...} which throws an error if the stream does not exist rather than just returning NULL as you...
by Alexander Riedel
Wed Apr 11, 2018 12:07 am
Forum: PowerShell Studio
Topic: PrimalScriptHostImplementation can't read NTFS ADS
Replies: 8
Views: 830

Re: PrimalScriptHostImplementation can't read NTFS ADS

The cmdlet had the -Stream parameter since 3.0. So there must be something else at play here.
I will create a script tomorrow and package it. I'll post it here so you can try that on your end then.
We take it from there.
by Alexander Riedel
Tue Apr 10, 2018 9:01 am
Forum: PowerShell Studio
Topic: Inputbox Not Showing in Console
Replies: 4
Views: 1349

Re: Inputbox Not Showing in Console

Yeah, they don't use the original PowerShell console :D Pros and Cons. That's why you always need more than one tool.
by Alexander Riedel
Mon Apr 09, 2018 9:50 pm
Forum: Trial Software / Pre-sales Technical Questions
Topic: Additional seats for PS Studio best practice
Replies: 1
Views: 1303

Re: Additional seats for PS Studio best practice

Easy. Contact sales@sapien.com with your subscription number. Ask them to add two additional licenses to make it a multi-user subscription and how you would like to get billed. All three seats will always be in sync. Read this https://info.sapien.com/index.php/quickguides/managing-your-multi-user-su...
by Alexander Riedel
Mon Apr 09, 2018 7:12 am
Forum: PowerShell Studio
Topic: Please Expand on MSI Prerequisite thread
Replies: 6
Views: 652

Re: Please Expand on MSI Prerequisite thread

Seems straight forward. From what I read you have all the pieces in place, you just need to launch the script you mention as a custom action on installation. Read the blog article I mentioned about PrimalScript and custom actions and give it a week or two for the next build of PowerShell Studio to m...
by Alexander Riedel
Mon Apr 09, 2018 6:09 am
Forum: PowerShell Studio
Topic: Please Expand on MSI Prerequisite thread
Replies: 6
Views: 652

Re: Please Expand on MSI Prerequisite thread

Since you use PowerShell Studio I was assuming a form. Seeing your response I deduct that this is not the case.
I do not know if you can do what you want, because I do not know what you want :D
Maybe you can elaborate on what you need/want?