iPowerShell Pro initially ships without any cmdlets, etc. You should connect to Wi-Fi to download the initial data set, as the V3 cmdlet set is quite extensive and can take a couple of minutes to download. Downloading the data onto your device: Tap on the Cmdlets Service. You will be prompted to “Get Cmdlets”. Press […]
Category: Howto
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 […]
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 […]
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 […]
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 […]
PowerShell Studio: Enable and Disable Groups of Controls
If you follow the Spotlight on Controls series you might be familiar with the Enable property that is shared by all WinForms controls. This property allows you to disable controls so they no longer can be interacted with. For example, after pressing a button that triggers a Job, it is necessary to disable the button […]
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 […]
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 […]
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 […]
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 […]