Posts Tagged ‘Shell’


 

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. (https://www.youtube.com/watch?v=kJGqZHQzNRo) 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: https://cygwin.com/install.html There are a few quirks…   More »

VersionRecall 2014 released.

Wednesday, February 12th, 2014 by Alex Riedel
We are proud to announce that VersionRecall 2014 has been released and is now available for download from our web site at http://www.sapien.com/software/versionrecall. If you have been evaluating the community preview version, please make sure to read all the way down so you catch the new features that have been added. If you have not seen our extended community preview, please make sure to download the trial and and find out how easy version control can be. VersionRecall 2014 is the first version control software that understands scripting in general and PowerShell in particular. Here are just some of the…   More »

Developing PowerShell scripts for other machines (Part 2)

Tuesday, October 16th, 2012 by Alex Riedel
Yesterday we showed you how to export the cache information on a remote machine. Today we go through the steps to actually use that information. Remember that we exported the cache file on that Windows 2008R2 machine as “WIN2008R2TESTVM.CacheExport”. Let’s assume we put that file on the desktop of your local machine. Now fire up PrimalScript 2012 and select “Import Remote Cache” from the Platform group on the Home tab: Select the cache export file on your desktop. Select the appropriate choices for your remote connections. Depending on your selection some of the following options may not be available to…   More »

PowerShell users getting the blues

Thursday, April 28th, 2011 by Alex Riedel
PrimalScript 2011 hosts embedded Command and PowerShell consoles. One complaint we received was that the PowerShell console's background was black rather than the familiar blue. We didn't want to deprive PowerShell users of their wish for more color in their lives so we set the default to blue in service build 6.0.133. If you had PrimalScript 2011 already installed that new color won't kick in though and you have to set it manually. So after installing the new build, go toTools – Options – Environment – Command Shelland select the desired color there. The new default is the Hex(00,00,FF) one.…   More »

Feature Peek PrimalScript 2011: Bridging the gap, Part 3

Wednesday, January 5th, 2011 by Alex Riedel
Last time we learned how you can pre-determine where your script is executed by using meta-comments inside your code. While this third installment also deals with execution in either 32 or 64 bit environments, the main gap being addressed today is between script development and working in a shell. For us developer types, the use of an IDE is pretty clear cut: We write code and we want as little dependency on our development machine as possible. Administrators once again live in two worlds: Of course you develop scripts that will run on other machines and, just as us, should…   More »

Shell me, Bash me

Wednesday, December 10th, 2008 by Alex Riedel
In the last blog posts you have already seen that PrimalScript 2009 will have an integrated PowerShell command window. With PowerShell storming the charts, command line environments experience a bit of a renaissance. From a script development perspective it makes perfect sense to have a prompt ready in order to try out a command. If you are using any shell scripting language, this can be very convenient. A PowerShell instance As much as we love PowerShell, we did not want to limit you to one specific shell only. So instead of PowerShell you can have good old CMD.exe as your…   More »

Fun with Errors

Sunday, July 20th, 2008 by Jeffery Hicks
In the online PowerShell class I've been doing this week we've been discussing error handling. I explained that the built-in $error variable is an array that stores recent PowerShell exceptions. Here's a quick list of fun things you can do with an error object.   More »