Windows administrators have long been denied good scripting tools with real enterprise features. Instead, they quite often offer little more than the most basic syntax colouring and text editing. PrimalScript 4.0 by Sapien gives administrators the features they’ve been looking for in a full scripting environment.
PrimalScript is designed primarily for admins, who will be able to use all of the features with drag-and-drop ease. However, the solution offers plenty for hardcore developers, who will enjoy the plethora of shortcuts provided.
PrimalScript 4.0 offers one of the most phenomenal features I’ve ever seen in a script editor: the Evolved Script Packager. The ESP allows you to compile your scripts into executable files and distribute them anywhere you like. You can pick as many scripts as you want — to run in any order — and they don’t even have to be in the same language. When creating an executable, you may choose from such options as icon, execution user and output file. You can even digitally sign the file to prevent tampering. I can’t praise this invaluable feature enough — admins can protect the integrity of their processes from any unauthorized users.
Another feature of PrimalScript is that it exposes all of the COM objects that reside on your computer, and probably even some you didn’t know existed. (In my case, that turned out to be hundreds of different library, class and other object types.) Admins can drag and drop calls to these objects into scripts, thereby simplifying complex script-writing for novices.
PrimalScript makes very interesting use of FTP. You can set it to grab scripts from an FTP location, then edit and republish them. PrimalScript also has very rich search and replace functionality that allows you to replace all instances of a string in several files at once.
A couple of helpful wizards further boost PrimalScript’s usefulness. The WMI (Windows Management Interface) Wizard helps admins query information from different servers, such as CPU, disk memory and more, then creates the VBScript for the object, which can be easily dropped into any script.
The ADSI (Active Directory Service Interface) Wizard helps admins build queries against Active Directory. PrimalScript contains its own internal debugger, so you may test and debug your scripts. It also makes deployment projects extremely easy by giving you the capability to publish to multiple targets. This functionality tremendously decreases the time it takes to deploy scripts to multiple servers.
So, where can PrimalScript be improved? First, it would be nice if it came with more code snippets. I found many of the defaults almost useless because they were in such small chunks. It would be more helpful for the company to provide functions that perform entire tasks, such as reading all the files in a folder or searching all users in a Windows group.
I would also like to see more rich functionality in the WMI Wizard, such as being able to pick specific objects and not just cursor through all of them. For the ADSI Wizard, I would like to see more than just select queries, and I’d like to see the wizard help with adding and updating objects.
All in all, however, PrimalScript 4.0 offers features that will satisfy novices’ and experienced admins’ scripting need.