Writing scripts to automate administrative tasks can be challenging. Not only do you need to master the particular scripting language you intend to use, you also need to find the right object and technology for the task at hand.
PrimalScript 2009 makes the development cycle of Discovery – Experimentation – Implementation that most script authors use much more efficient.
The new object browser in PrimalScript 2009 gives you access to the most commonly used type of objects; COM, PowerShell Cmdlets, WMI and the .NET framework. Each of these nodes shows the underlying objects in an organized, easy to understand way.
You can simply right click on any of these and look at the online help, or Google for additional information or simply copy the name of the item to the clipboard.
But most importantly you can also drag and drop a Cmdlet to the built-in PowerShell instance and start experimenting with it:
Once you have fine tuned your exact call or expression for a Cmdlet, you can simply select and drag the completed code to your script file.
In future blog posts we will show you how the new object browser can help you discover other objects and their uses easily and quickly; all from one single location within PrimalScript 2009.