Late breaking news from PowerShell Conference Europe 2016!! During PowerShell MVP Chrissy LeMaire’s (@cl) knockout session at PowerShell Conference Europe 2016, “My Journey to 200,000 Rows a Second” (don’t miss the recording; I’ll tweet as soon as it’s available), PowerShell Principal Developer Bruce Payette (@BrucePayette) said that you can call the Where method without parentheses. […]
Category: Ask the Experts
Setting Conditional Breakpoints
Applies to PowerShell Studio 2016, PrimalScript 2016, and later. I write lots of scripts — for production, for research, for testing, and for demonstrations. And, inevitably, I hit a bug. I’m actually relieved when I do, because no code is perfect and I’d rather find the bugs before my users do. In fact, I make […]
Distributing files with your packaged scripts
We get this question every week: Why can I not include my data files, secondary scripts, modules, other executables etc. with the packaged executable and have it unpack them when I run it? If you have been a SAPIEN customer for a few years you may remember that we had this feature in the packager […]
Engine Type Prerequisites
When building executables in PrimalScript or PowerShell Studio there are various engine types to choose from, each of them with a prerequisite that must be installed on the machine that will be running your program. For example, if you build an executable in PowerShell Studio and select the SAPIEN PowerShell V2 Host (Command Line) Win32 engine then the .NET […]
How to submit a support request
With social media and every company having a presence in a number of places it sometimes feels like it won’t matter where you ask your questions. So it is only normal that we get phone calls, tweets, blog comments, smoke signals and bush drums sent our way for feedback and support requests. If you are […]
PowerShell in the UK? You Bet! And SAPIEN is Supporting the Community!
SQLSaturdays worldwide are a great vehicle for database administrators and others to get together, learn from each other, and network. Obviously, they center around SQL but we at SAPIEN are quite pleased to see PowerShell becoming part of these events. Now that Microsoft has PowerShell at the center of its scripting world, this only […]
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 […]
How can I make PrimalScript execute <fill in script language here>?
One question keeps popping up in our support forums and inboxes: How can I make PrimalScript execute my AutoIt, HTML, PigLatin <fill in any other script language here> script? This is fairly simple as long as you know what the actual language engine is. We will use AutoIt and HTML as an example for this […]
PrimalScript or PowerShell Studio?
We do get this question from users new to our software quite frequently. We realize that there is some overlap between the two products, they are both editors after all and both support PowerShell. I could go on and explain at length what the differences are, but fortunately I don’t have to. Powershell guru 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 […]