We are getting lots of email asking this one question. PrimalScript’s PowerShell support was designed to use whatever version is installed from the very beginning. So all Cmdlets, their parameters, the online help, tooltips etc are always up to date. So if you don’t see a specific service build to support this or that particular […]
Category: Windows PowerShell
Script Packager packs new features.
PrimalScript 2009’s Script Packager contains two new target executables and easier manifest handling. The increasing popularity of PowerShell and the large numbers from the PrimalForms download prompted us to add dedicated targets to PrimalScript’s Script packager: These two new options allow you to package your PowerShell script into a stand-alone exe file. When executed, this […]
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.
Windows PowerShell: TFM 3rd Edition.
When the first PowerShell CTP came out, SAPIEN Press began offering the 3rd edition of our popular Windows PowerShell: TFM book. The 3rd edition of the book covers PowerShell version 2. While the version 2 is in CTP status, we’ve been offering the book as an ebook only. Once the PowerShell v2.0 officially ships, then everyone who has a ebook version will get a copy of the final printed book.
With each CTP release, the book is updated. Of course by now you probably heard that CTP3 has been released. We know you are eager to get your hands on the new material and we are eager to get it to you.
Special Forces Base Camp
Our base camp for the upcoming Special Forces PowerShell training as been set. All recruits should report to the Best Western Dallas Hotel & Conference Center. PowerShell calisthenics will begin on February 9th, 2009 at 8:30AM sharp. Grease paint is optional. One new item on the agenda is PowerShell v2.0. At the end of 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.
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.
Shell me, Bash me
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 […]
Objects in motion
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 […]
Where do I begin?
“I’m new to scripting and need a book recommendation.” “Should I learn VBScript or PowerShell?” “What are some good books for learning scripting?”
These are natural and common questions. A few years ago the answers would have been simple. But today if you are just getting started with administrative scripting, the answers only bring more questions. The real question isn’t what book should you read but what technology should you learn? If you are a a SAPIEN blog reader I’m going to assume that the choice comes down to VBScript or PowerShell. The quick answer is to learn both, but I realize that’s not practical. So let’s look at this a bit further and realize that some of this will change once PowerShell v2.0 is released as part of Windows 7 and depending on your adoption of Windows 7.