Posts Tagged ‘console’


Using Bash with PrimalScript 2016

Thursday, May 26th, 2016 by Alex Riedel
I have been asked a few times now to use Bash with PrimalScript. It doesn’t have all the setup for it out of the box because there are a few different implementations of Bash available for Windows. If you followed the latest news, Microsoft has announced at the BUILD 2016 keynote that Bash will become an integral part of Windows. ( Since we do not have the bits from Microsoft yet, I used the Cygwin Bash shell to demonstrate the necessary steps for PrimalScript 2016. You can download and install this version from here: There are a few quirks…   More »

WMI Explorer 2015 gets a PowerShell console

Thursday, May 28th, 2015 by Alex Riedel
With the latest service build WMI Explorer 2015 has received an integrated Windows PowerShell console. While previous versions had the ability to execute generated PowerShell code in a console, experimentation with that code was not possible because PowerShell does not include the commands passed as arguments to the console in the history. With this new release you can just use cursor up to get the last command and modify and re-run that command to experiment. In addition to adding a new integrated Windows PowerShell console, we also updated the generated code to use the newer Get-CIMInstance cmdlet rather than the…   More »

PrimalScript 2014: VBScript gets a debug console

Monday, March 31st, 2014 by Alex Riedel
One of the many things on our users wish list was the ability to change variables while debugging. While we where looking to solve that, we also looked for a way to call functions while stopped at a breakpoint or execute any arbitrary code that may help facilitate testing and debugging. Since we already have a debug console doing that exact same thing for PowerShell, we thought it would be best to do the same thing for VBScript and JScript. So now setting a variable or an objects property is as easy as typing it into the console. Call functions,…   More »

Feature Peek PrimalScript 2011: New PowerShell Debugger

Tuesday, March 8th, 2011 by Alex Riedel
The PowerShell debugger has been completely rewritten for PrimalScript 2011. Many of the new features are the direct result of requests from you, our users: - The way the debugger executes your script makes sure that all open files are closed, regardless where and when you stop debugging. - You can debug in 32 and 64 bit PowerShell instances and also elevate the debugger if your script requires elevation to run. (Obviously you need a 64 bit OS to run the 64 bit debugger) - The new variable display shows all members and their values of all PowerShell variables. -…   More »

Moving to 64 bit: Running a 64 bit PowerShell console inside PrimalScript 2009

Tuesday, July 20th, 2010 by Alex Riedel
PrimalScript 2009 is a 32 bit application, so by default it uses the 32 bit version of PowerShell even on a 64 bit machine for the embedded console. If you are dealing with mostly 64 bit server software you may want to make the embedded shell use the 64 bit version of PowerShell. The default installation of PowerShell under Windows 7 is at C:\Windows\System32\WindowsPowerShell\v1.0 And yes, that is still true for PowerShell V2. The system32 folder is mapped to SysWOW64, which is the actual 32 bit version of the that folder. I know, the numbering scheme is a bit confusing.…   More »

"Live" Variables

Tuesday, July 29th, 2008 by Jeffery Hicks
In a recent PowerShell post, a member was asking about variables and whether they were "live" or linked to an actual object.The answer is "Yes and No, depending..."   More »