We get that question all the time. Before we start, please note that we do not advise to ever put credentials as plain text into any kind of code. Use encrypted strings, store encrypted credentials in files or, if all else fails, prompt. Now, having said that we all know that sometimes schedules and pressure […]
Category: Ask the Experts
Why is there a shield on my icon?
If you package your script with PrimalScript’s or PrimalForm’s packager you have the option of including a manifest. This manifest can be used to make your executable file prompt for elevation when executed. It’s easy to spot the difference between an application that will prompt for elevation and one that does not by looking at […]
How to make a default file template in PrimalScript.
When you create a new file in PrimalScript you have several options: 1. Click on the File New button in the toolbar 2. Click the little arrow next to it to create a specific type of file 3. Select File – New… and choose a specific type form the menu 4. Press Ctrl+N to create […]
Benchmarking Scripts: Strings
The latest build of PrimalScript 2011 has a new little toy built in. If you run a script from within PrimalScript, it will time the execution and print the elapsed time after the script has finished in the output window. While this isn’t exactly a profiler of any kind, it can be helpful to evaluate […]
RSEE and security
We have received a couple requests in the last few days to explain the security implications of using our Remote Script Execution Engine (RSEE). The RSEE service must be installed on a target machine and uses a configurable tcp/ip port to listen for incoming script execution requests from a PrimalScript instance. Another port is used […]
Attention User Groups
We are sending our CEO and CTO on tour! SAPIEN Technologies will be visiting a number of user groups within the US to meet and discuss ideas, present new exciting products and to get feedback from you, our customers and users. Of course we will also sponsor those meetings with cool prizes and whatever goodies […]
PowerScripting Podcast Roundtable
This week, Alex Riedel and SAPIEN alumus Don Jones will sit down (virtually speaking) at a roundtable discussion on the PowerScripting Podcast. They will be joined by PowerShell architect Jeffrey Snover, and PowerShell MVP Kirk Munro. Scheduled topics include: A Thousand Things 1% Better What’s most important for a posh newbie to learn? Script vs. […]
Scripting Essentials
I wanted to make sure everybody knew about another site in the ScriptingAnswers.com family. We have another area we refer to as our Essentials site. Here we gather tips, best practices, sample scripts and more. Coverage includes not only PowerShell but VBScript as well. This is also where you’ll find conference slide decks and demo […]
How do I sign a Windows PowerShell script?
"Boz" sent this one in, and it’s a doozy. I have two places for you to look: First is at http://www.scriptinganswers.com/essentials/index.php/2008/02/21/how-do-i-sign-a-windows-powershell-script/, which describes the process I used to sign a script for a new self-paced training video that should be out in March 2008. The other is in Microsoft TechNet Magazine, where I wrote an article […]
How can I write a PowerShell function that outputs a table?
This is a REALLY common question, and if you have any experience with VBScript, or Perl, or some similar scripting language, you’ll go down completely the wrong path. The thing to remember is that PowerShell already knows how to format tables! You just have to give it your data in a way it understands, so […]