But it works on my machine…

We have all heard that phrase. We have all faced that scenario. A script runs perfectly fine on your machine or any VM you have, but just refuses to do anything useful on that one server where it really matters. Error messages can be notoriously unhelpful. “Access denied”, yes, but to WHAT and WHY? And […]

Read More

Jazz up your VBScripts with PowerShell and Windows Forms

Sure, you are supposed to write all new scripts in PowerShell. Some say you can replace any VBScript with a single line in PowerShell. But the truth is, many of you still have to maintain, develop and debug scripts written in VBScript. Some of our customers also have to maintain VBScript or JScript files that […]

Read More

How to Enable and Disable PowerShell V2 on Windows 8

Windows 8 by default includes PowerShell V3 installed, which is now an essential part of the operating system and cannot be removed. PowerShell V2 on the other hand is a different story. The default installation should have PowerShell v2  installed side by side with V3, but you have the option to remove or add this […]

Read More

What to do when you install a new version of PowerShell?

Some of you may have already encountered this. You upgraded your system to PowerShell 3.0, 4.0, or 5.0 and you want PrimalScript or PowerShell Studio to recognize the new version of PowerShell. This article addresses that very question. You can accomplish this by following the steps outlined below. This article will also cover the case where you add […]

Read More

Revisiting The Packager and Command Line Arguments

The original The Packager and Command line Arguments blog article discussed how to pass parameters to a packaged executable. In this article we will revisit this subject and update the functions introduced in the previous article. The article will also cover how to simulate the packager parameters so that you can test your script without […]

Read More

LOST! The forgotten features

A week ago I was hanging out with PowerShell trainer extraordinaire Jason Helmick and while we where geeking out over PowerShell tricks and software features (yes, I know, bad, isn’t it?) I asked him how he would improve file groups. (…) (crickets) (…) File groups? So I demonstrated. I learned some time ago that most […]

Read More

PSModulePath discrepancies

While investigating a bug report about ChangeVue’s installer we stumbled across a discrepancy with PowerShell’s PSModulePath environment variable. On a virgin Windows 7 machine the environment variable is set to “C:\windows\system32\WindowsPowerShell\v1.0\Modules\” via a System Environment Variable.There is no default that links to the per-user module path. If you query the environment variable in CMD you […]

Read More

PrimalScript 2011 Templates: ASCII, Unicode and UTF-8

PrimalScript 2011 creates Unicode files by default. There are some exceptions, like XML files, which are created as UTF-8 files. While generally Unicode is the way to go with international characters and mixed languages and so forth there are some occasions where another encoding has to be used. Once you have a file opened in […]

Read More

Search

Enter any query and press enter
Advanced search operators:
+ ⟶ Term must appear
- ⟶ Term must not appear
"" ⟶ Exact string must appear
How do I use these?

Join our mailing list

Enter your email address to subscribe to our mailing lists for Monthly Blog Digests, Product Announcements and more (you can choose which you receive once you sign-up!)

Tags

Categories

Archives

Dashboard