PowerShell V.2 is here and SAPIEN is ready! Don Jones and Jeff Hicks have been working hard on a text for version 2. The result is Windows PowerShell V.2: TFM. We are currently accepting pre-orders as ScriptingOutpost.com. To read more about content and changes please visit http://www.sapienpress.com/powershell3.asp
Category: Windows PowerShell
SAPIEN on Tour
Our own CEO Ferdinand Rios is going to be in Austin, Texas 11/6/2009. Dr. Rios will be speaking at The Central Texas Systems Management User Group (CTSMUG). This a community of IT Professionals that share a comment interest in Systems Management. It will be held at: Microsoft Corporation 9606 Mo-Pac Expressway Stonebridge Plaza, Building One, […]
PrimalPad Community Edition update
PrimalPad has been updated to recognize all PowerShell V2 keywords and cmdlets for syntax coloring. Check your Help -> About and look at the version number, if it’s not 1.0.13 you may want to head over to our Community Tools site and download it in your color and platform of choice.
Closing the Form: What you might expect and what really happens
Recently I was contacted by one of our PrimalForms users. He commented that the behavior of a script deviated from what he was expecting. He provided me with the following script block for the Button Click Event so that I could help clear up the confusion: $handler_button3_Click={ # Check that a logfile was specified. If […]
PrimalForms 2009: Integrated Help
PrimalForms 2009 features integrated help to assist users with their form scripting. This blog covers some of its features. Help Documentation: (Fig 1: Click on the Help button or press F1 key to access the help documentation.) PrimalForms allows users to access help on any panel or window simply by pressing the F1 key. Depending […]
Writing VBScript that really runs in PowerShell
It’s quite possible to run traditional WSH script from the PowerShell console, and people have even directly hosted VBScript in PowerShell since 2004 using the Microsoft Script Control. However, you can go farther than just loading VBScript into an object in a PowerShell session and calling its methods. You can use VBScript – or any other Active Scripting language, for that matter – as a scripting language for PowerShell.
PowerShell hosting and $MyInvocation
Many PowerShell users utilize code as shown below to determine where the running script resides: function get-scriptdirectory{ $invocation=(get-variable MyInvocation -Scope 1).Value Split-Path $invocation.myinvocation.path} Unfortunately, if the script runs inside a custom host, such as PrimalScript’s internal host, for a good number of debuggers and the SAPIEN PowerShell host from the PrimalForms packager, the MyInvocation variable […]
PrimalForms 2009 goes beyond just a forms editor
We have a major service release this month for PrimalForms 2009. It features significant additions that take PrimalForms beyond just a forms editor. This service release (v1.1.0) includes the following: General PowerShell Script Editor PrimalForms 2009 is no longer limited to forms scripts. You now can create and edit your ps1 PowerShell scripts directly, making […]
Get-GuiDate: A PowerShell Calendar Tool
Forms and dialogs can augment PowerShell scripts or even resurface them completely to make them more friendly for people who aren’t familiar with the command line. In some cases, a form can even function as a complete script in and of itself. The Get-GuiDate script, developed from a prototype written with PrimalForms, is an example of a script that is completely centered around a control (the Windows.Forms.MonthCalendar control) embedded in a Windows Form.
Windows PowerShell v2: TFM on its way!
SAPIEN Press has once again joined forces with Don Jones and Jeffery Hicks to bring you the latest and greatest information on Windows PowerShell, version 2. Windows PowerShell: TFM, in its third edition, will be released shortly after the release of Windows 7 and Windows PowerShell v.2. The text and the sample code will be […]