May 16th, 2013 by Alex Riedel
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 everyone’s favorite “Unknown error” makes for a very frustrating day at the office. If you have physical or remote desktop access to that server it’s pretty easy, just use whatever debugger you have, install it on that machine and see what happens. Or, in case…  
More »
Posted in Ask the Experts, Howto, PowerShell Studio 2012, PrimalScript, Software News, VBScript, Windows PowerShell | 10 Comments »
May 15th, 2013 by David Corrales
New versions of our SAPIEN Software are available. Registered users can download the latest service builds from MySAPIEN. Release Notes: PrimalScript 2012 v 6.5.145: ADD: Compare file button to the document tab context menuFIX: Packager $Commandline variable adding backticks to the double quotesFIX: Other minor fixes and enhancements PowerShell Studio 2012 v3.1.19 FIX: Issue where & was converted to underscore in Watch and Variable PanelFIX: Tab title issue with &FIX: Debugging formatting issue when hover mouse over variableFIX: Issue with Charts & PowerShell V2 when the .NET 4.0 version was installedFIX: Packager $Commandline variable adding backticks to the double…  
More »
Posted in PowerShell Studio 2012, PrimalScript, Service Build | 6 Comments »
May 14th, 2013 by Ferdinand Rios
Want to see some more from iPowerShell Pro V3? Well here you go! On the PSWA console screen, tap the Scripts button to get a list of scripts on the server. [caption id="attachment_6035" align="aligncenter" width="300"] Figure 1: The Scripts Button[/caption] Tap the chevron on the right of the script name to edit the script. [caption id="attachment_6036" align="aligncenter" width="300"] Figure 2: Edit scripts on your mobile device.[/caption] Press Save when done, then tap the script name to place it on the input line. [caption id="attachment_6037" align="aligncenter" width="300"] Figure 3: Execute the script[/caption] Press the Send button on the keyboard to execute…  
More »
Posted in Events, Feature Peek, iPowerShell, Software News, What's new, Windows PowerShell | 7 Comments »
May 7th, 2013 by Ferdinand Rios
What's in store for the next version of iPowerShell Pro? Can you say Enhanced PowerShell Web Access? Check out the screen shots below: Figure 1 below shows what PSWA looks like on a tablet through iPowerShell Pro. [caption id="attachment_6022" align="aligncenter" width="300"] Figure 1: Logged into a PSWA console[/caption] Tap the cmdlet button to bring up a list of cmdlets. [caption id="attachment_6023" align="aligncenter" width="300"] Figure 2: Select a cmdlet[/caption] Tap a cmdlet to bring up its list of parameters. [caption id="attachment_6024" align="aligncenter" width="300"] Figure 3: cmdlet parameters[/caption] Tap the parameters you want to include in your command line and press Done.…  
More »
Posted in Events, Feature Peek, iPowerShell, Software News, What's new, Windows PowerShell | 7 Comments »
April 29th, 2013 by David Corrales
This week, I had the pleasure to speak and attend the inaugural PowerShell Summit. In my “GUI Toolmaking with PowerShell” session I covered how to create a GUI using PowerShell Studio 2012 and how to use some common controls. Even with an unwanted office agent’s help (Clippy-Don), the session was a success. (Pictures courtesy of Francois-Xavier Cat) (Start of the GUI Toolmaking Session) (Saving puppies with GUIs) (Mike Robbins being a good sport as my model) I also demonstrated the many features of PowerShell Studio and discussed the future of SAPIEN Products during the lunch break. (Demonstrating SAPIEN PowerShell Products)…  
More »
Posted in PowerShell Studio 2012, Windows PowerShell | 13 Comments »
April 24th, 2013 by Alex Riedel
Look to the right on this blog, there is a poll about which panels in PrimalScript you use. We need more users to answer this, unless you are trying to tell us to get rid of all panels :-) So go, check some boxes… …  
More »
Posted in General | 3 Comments »
April 18th, 2013 by Alex Riedel
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 post. If you load one of the AutoIt examples and just press Ctrl+F5 to run the script you get an error message. Since AutoIt, unlike Windows Script Host or PowerShell, changes the executable name of the engine for each major version, you’ll have to go…  
More »
Posted in Ask the Experts, PrimalScript, Software News | 2 Comments »
April 10th, 2013 by Alex Riedel
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 trainer extraordinaire Jason Helmick just released an excellent overview and video about what to choose for what and why. So, lean back, read the article and watch the video. Click here for the blog article Click here for the video…  
More »
Posted in Ask the Experts, PowerShell Studio 2012, PrimalScript, Software News, VBScript, Windows PowerShell | 7 Comments »
April 10th, 2013 by David Corrales
Yes, we said we would not speak of it again, but a user post provided a good example of the change in scoping rules between PowerShell V2 and V3. This particular user had a question about GUI controls on our new PowerShell GUIs forum and provided an example GUI script. In the example, the user declared a function inside an event script block: $OnLoadFormEvent={ #TODO: Initialize Form Controls here $t = dir c:\PowerShell\ $t2 = dir c:\Scoping\ function outTextBox1($textOut) { $richtextbox1.Text = $richtextbox1.Text + $textOut } } This script block is called when the GUI Window is about to display.…  
More »
Posted in Windows PowerShell | 3 Comments »
April 1st, 2013 by Robert Morey
SAPIEN is proud to be a sponsor of the PowerShell Summit North America 2013 and, to celebrate, we are offering 20% off all our PowerShell-related products during the month of April. That includes PowerShell Studio 2012, PrimalScript 2012, all our ebooks, and the PowerShell Video Training Set. Choose one, choose all! The PowerShell Summit is taking place April 22 through 24 on the Microsoft campus in Redmond, Washington. Replete with presentations from MVP’s, Microsoft product team members, and independent experts, this is your chance to experience a “hardcore PowerShell Deep Dive” and get all your questions answered while probably…  
More »
Posted in Events, General, Software News, Windows PowerShell | 11 Comments »