Search found 149 matches

by clum09
Mon Feb 16, 2015 1:53 pm
Forum: PrimalScript
Topic: Packaged script with utility file in PrimalScript 2012
Replies: 9
Views: 3052

Re: Packaged script with utility file in PrimalScript 2012

Can I use the MSI deployment method to package the script and run the packaged script as I did in previous version of PrimalScript? I do not deployment any application as such, and really all I do is I write a tool to automate some tasks in my organization, and my script requires the external utilit...
by clum09
Mon Feb 16, 2015 10:48 am
Forum: PrimalScript
Topic: Packaged script with utility file in PrimalScript 2012
Replies: 9
Views: 3052

Packaged script with utility file in PrimalScript 2012

Hello, I need to package a PowerShell script that requires a utility file to run in PrimalScript 2012. I added the utility file in the script packager and in Specific folder I added %temp% variable. In the script, I have the code that points to the %temp% folder to execute this utility file. However...
by clum09
Mon Feb 16, 2015 10:15 am
Forum: PrimalScript
Topic: Packaged script that uses PSSession
Replies: 3
Views: 1866

Packaged script with utility file in PrimalScript 2012

Hello, I need to package a PowerShell script that requires a utility file to run in PrimalScript 2012. I added the utility file in the script packager and in Specific folder I added %temp% variable. In the script, I have the code that points to the %temp% folder to execute this utility file. However...
by clum09
Mon Feb 16, 2015 9:14 am
Forum: PrimalScript
Topic: Packaged script that uses PSSession
Replies: 3
Views: 1866

Packaged script that uses PSSession

Hello, I have a PowerShell script that uses PSSession to start a process on a remote computer. See the code below. $scriptBlock = { Param($filePath) Start-Process -FilePath $filePath } $Session = New-PSSession -ComputerName $RemoteServer -Credential $Credential Invoke-Command -Session $Session -Scri...
by clum09
Mon Feb 09, 2015 12:16 pm
Forum: PowerShell Studio
Topic: Form code in PowerShell Studio 2014/2015
Replies: 8
Views: 3676

Re: Form code in PowerShell Studio 2014/2015

David, What you said was to export the .psf file to a .ps1 file first. Then re-open the this new .ps1 file within PowerShell Studio 2015 and answer the question "No" when it prompts me for the source file. If I did that, I lost all my ability to edit the form within PowerShell Studio 2015 - I am wor...
by clum09
Fri Feb 06, 2015 9:29 pm
Forum: PowerShell Studio
Topic: Form code in PowerShell Studio 2014/2015
Replies: 8
Views: 3676

Re: Form code in PowerShell Studio 2014/2015

David, I followed your instruction to reveal the form code by checking or unchecking the 'Embed recovery data in exported script' in the Options -> Designer within PowerShell Studio 2014/2015, but I cannot see the form code in either the Script tab or the Designer tab. Where can I see the form code ...
by clum09
Fri Feb 06, 2015 10:00 am
Forum: PowerShell Studio
Topic: Form code in PowerShell Studio 2014/2015
Replies: 8
Views: 3676

Re: Form code in PowerShell Studio 2014/2015

David, Why is form code within PowerShell Studio encrypted to begin with and at the same time why does PowerShell Studio allow the export of the form code? Tell me how I can have two form codes in one single script file within PowerShell Studio 2014/2015 since the the code in PowerShell Studio is co...
by clum09
Fri Feb 06, 2015 7:15 am
Forum: PowerShell Studio
Topic: Form code in PowerShell Studio 2014/2015
Replies: 8
Views: 3676

Form code in PowerShell Studio 2014/2015

Hello, I like to see PowerShell Studio can allow me to see the form code within the Editor. This is because when I write the GUI application, I like to integrate a sub form within the main form so that the sub form is loaded before the main form loads. I use the sub form as a splash screen before th...
by clum09
Fri Feb 06, 2015 6:52 am
Forum: PrimalScript
Topic: New empty document in PrimalScript 2014
Replies: 2
Views: 1860

New empty document in PrimalScript 2014

Hello, I noticed the feature changed in PrimalScript 2014. When I start a new document from the top left corner of PrimalScript 2014 and I write some code on the new document and click on the Run button, I am prompted to save the current document to a script file before I can execute the script even...
by clum09
Mon Sep 22, 2014 5:54 am
Forum: PrimalScript
Topic: PrimalScript 2014 - PowerShell V3 Packger Error
Replies: 7
Views: 4282

Re: PrimalScript 2014 - PowerShell V3 Packger Error

Alex,

Any news for the packaging issue with PowerShell V3 packager?

Thanks.