In Part 1 I showed you how easy it is to set up ChangeVue 2009 and to add all your scripts to source control. In Part 2 you will learn how easy it is to make PrimalScript work seamlessly with version control and ChangeVue. The steps described here apply to just about any source control […]
Category: Howto
Editing PrimalForms
I continue to play with PrimalForms and I know many of you are as well. I thought I’d share a few other techniques for creating scripts and moving between the code generated by PrimalForms and the script you create in PrimalScript. One technique that I’ve started using is to leverage PrimalScript’s snippet feature.
Version control for System Administrators (Part 1)
1. Setting up ChangeVue 2009 Software developers have been using Source Code Control Systems for quite some years now. Most people involved with any kind of electronic files or document have a kind of ad-hoc version control usually using some file naming scheme. Something like: InfrastructureOct2007.doc InfrastructureJan2008.doc InfrastructureMar2008.doc Many administrators though, have stayed away from […]
Local Password Management Form
I’m very happy to see PrimalForms spreading in popularity and acceptance. One topic I come across is the need for more samples, and of course, I’m happy to oblige.
I put together a short form script to manage local account passwords.
Enabling/Disabling Code in PrimalScript 2009
PrimalScript 2009 includes a nice new feature that helps out in the script development process. You can now select a block of code, right click, and choose Disable Code. This option will do three things to the selected block: it will comment out the selection, wrap the block in a “Disabled Code” region and collapse […]
Start Me Up! The PrimalScript 2009 Start Page
So what’s the big deal with a start page? Well, for PrimalScript 2009, we have redesigned our start page to be more helpful and useful. The new start page is divided into 4 sections: Recently Edited Files, Recently Opened Files, Recently Opened Projects and Installed Products. Let’s take a closer look at these sections. The […]
Winforms and Timers
There’s been some discussion lately in the SAPIEN product forums about PrimalForms and timers. As you know, PowerShell v1.0 is essentially single-threaded. This generally means that timers and asynchronous code won’t work. But you can use a simple timer in a Windows form. Here’s an example of how you might use such a timer.
PrimalScript 2009: Bracket Matching
PrimalScript 2009 includes some pretty nifty new bracket matching code to make your scripting life easier. Automatic bracket matching works for {}, [], (), and <>. Simply click the mouse just before an opening bracket or just after a closing bracket and the set will be highlighted. This bracket matching is in addition to the […]
PrimalScript 2009: File Differencing
PrimalScript 2009 includes a new integrated file difference tool that provides more information and syntax colored displays and allows for faster review of individual modifications. Let’s take a look at how this operates. To compare file differences, first open the files you want to view using the Tools | Compare Two Files menu option. Select […]
PowerShell WMI Wizard
If you are a long time PrimalScript user, you know that it has always had support and wizards for WMI. The upcoming PrimalScript 2009 adds some new WMI features. But I like to tinker, especially with PowerShell. So I created a simple PowerShell script that creates an expression using Get-WMIObject. Think of it as a PowerShell WMI Wizard script.