Search found 150 matches

by clum09
Fri Jan 15, 2016 1:45 pm
Forum: PrimalScript
Topic: PrimalScript 2015 Install Error
Replies: 2
Views: 3388

PrimalScript 2015 Install Error

Product, version and build: PrimalScript 2015, 7.1.74_122315 32 or 64 bit version of product: 64-Bit. Operating system: Windows 7 Professional 32 or 64 bit OS: 64-Bit I cannot install PrimalScript 2015 on a new computer I just built. I got the error dialog during the installation which stated as fol...
by clum09
Mon Nov 23, 2015 12:37 pm
Forum: Wish List and Feature Requests
Topic: New script page in PrimalScript 2015
Replies: 0
Views: 16352

New script page in PrimalScript 2015

Hello, PrimalScript 2012 allows me to write a script snippet on the editor's page and run the script without having to save the script to a file first. In PrimalScript 2014/2015, I have to save the script to a file first before I run the script within the editor. I would like to be able to write the...
by clum09
Fri Oct 02, 2015 11:47 am
Forum: PrimalScript
Topic: PrimalScript 2015 failed to show error line number with PV2
Replies: 5
Views: 4605

Re: PrimalScript 2015 failed to show error line number with

I did not run this script on a machine with multiple PowerShell versions installed. I just copied this script to a computer that only had PowerShell version 2, and ran it in either the PowerShell console or within the PowerShell ISE. The result is the same. The machine I ran this script has the foll...
by clum09
Fri Oct 02, 2015 9:16 am
Forum: PrimalScript
Topic: PrimalScript 2015 failed to show error line number with PV2
Replies: 5
Views: 4605

Re: PrimalScript 2015 failed to show error line number with

When I ran this code in a console on a computer with PowerShell V2, I got the following error output: Unexpected token '}' in expression or statement. At C:\Scripts\Test.ps1:18 char:2 + } <<<< + CategoryInfo : ParserError: (}:String) [], ParseException + FullyQualifiedErrorId : UnexpectedToken As yo...
by clum09
Fri Oct 02, 2015 6:36 am
Forum: PrimalScript
Topic: PrimalScript 2015 failed to show error line number with PV2
Replies: 5
Views: 4605

PrimalScript 2015 failed to show error line number with PV2

Hello, I try to open a PowerShell script in PrimalScript 2015 with a PowerShell V2 mode - I select the v2 icon on top of the Platform menu bar. The code is shown below: [CmdletBinding()] Param([Parameter(Mandatory=$true, ValueFromPipeline=$true, ValueFromPipelinebyPropertyName=$true)] [object]$objec...
by clum09
Thu Oct 01, 2015 7:01 am
Forum: PrimalScript
Topic: PrimalScript 2015 packager failure
Replies: 3
Views: 3951

Re: PrimalScript 2015 packager failure

I downloaded a new version of PrimalScript 2015 and reinstalled it on top of the older version, and this seemed to fix the problem.

There was nothing wrong with the permission.
by clum09
Thu Sep 24, 2015 6:12 am
Forum: PrimalScript
Topic: PrimalScript 2015 packager failure
Replies: 3
Views: 3951

PrimalScript 2015 packager failure

Hello, I tried to use the script packager from PrimalScript 2015 to package a PowerShell script, but it could not package the script - it simply created a file with the script name with a .intermediate extension and it left it at that stage. How can I package the PowerShell script using PrimalScript...
by clum09
Wed Mar 18, 2015 5:28 pm
Forum: PrimalScript
Topic: Change directory in packaged script
Replies: 2
Views: 1545

Change directory in packaged script

Hello, I am using PrimalSCript 2012/2015 to package my PowerShell script that uses the Set-Location cmdlet. The script works fine when it is not packaged. However, when I packaged the script to a .exe file, the Set-Location no longer works. How can I change the directory from the current directory t...
by clum09
Tue Feb 17, 2015 12:00 pm
Forum: PrimalScript
Topic: Packaged script with utility file in PrimalScript 2012
Replies: 9
Views: 3112

Re: Packaged script with utility file in PrimalScript 2012

I am just curios to see what you think when you said that having the packaged script to extract the utility files to the %temp% folder would create a security risk for the organization. How about the MSI package file that was created by PrimalScript that also contains application files with the pack...
by clum09
Tue Feb 17, 2015 9:30 am
Forum: PrimalScript
Topic: Packaged script with utility file in PrimalScript 2012
Replies: 9
Views: 3112

Re: Packaged script with utility file in PrimalScript 2012

The script posted at the link you suggested used WMI method to execute the remote process. I had already had a code that used WMI to execute the remote process before I resorted to using PsExec tool. However, the remote computer on which I need to run the process would not accept any remote WMI conn...