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 […]
Tag: powershell
PrimalForms 2009 has been officially released!
We are happy to announce that PrimalForms 2009, the latest addition to PrimalScript 2009 Studio, has been officially released! Since PrimalForms 2009 is part of PrimalScript 2009 Studio, current Studio owners will automatically have full access to PrimalForms 2009 at no extra cost! PrimalForms 2009 provides a complete environment for your custom PowerShell GUI solutions. […]
PrimalForms 2009 becomes part of PrimalScript 2009 Studio
The soon to be released PrimalForms 2009 will become a part of PrimalScript 2009 Studio. Existing customers of PrimalScript 2009 Studio or Universal will receive the application with their regular service builds starting in August. The official release date for PrimalForms 2009 is August 1st with an introductory price of $89.00 available through www.scriptingoutpost.com. PrimalForms […]
New version of PrimalForms Community Edition Available
A new version of PrimalForms Community Edition is available for download at this location. What’s new in v1.0.4: – Resolved issue with fonts and international settings – Resolved the DataGridView crash issue – Columns can now be added to the DataGridView via the designer – Other minor fixes and changes A quick guide is available […]
July PowerShell One-Liner
This month’s PowerShell one-liner queries the WMI Win32_Product class for a specified computer and builds a formatted report of all installed applications sorted by vendor. You’ll be able to tell at a glance what is installed, when it was installed, where it was installed from and the product version. Be warned that querying this WMI class may take several minutes or longer.
This one line expression defaults to the local computer, but you can substitute any computername you want. You can also add support for alternate credentials. I’ve broken the expression into several lines for publication purposes but this is in fact a oneline expression.
Inventory Report to XML
Lately I seem to be answering a number of PowerShell XML related questions. When that happens I figure its time for an example. I have a script that I think originally was posted in a forum. I apologize that I didn’t note where it came from. But I’ve enhanced it (as I am likely to do). The script reads a bare bones XML file of computernames and builds a new XML file with inventory information such as operating system, computer system, logical disks and more retrieved from WMI. My script will hopefully serve as examples for working with XML files. I also use Write-Progress so that you can track what the script is doing.
PrimalForms 2009 Beta Testing
PrimalForms 2009 is Beta testing has begun! This is one test you won’t mind taking. PrimalForms 2009 provides a fast and easy way to create Windows Forms for Powershell. PrimalForms 2009 is an all-in-one product that allows you to design forms, edit your scripts with PrimalSense, and package your scripts into executables. If you […]
Special Forces Training Needs You!
In case you missed it, I’ll be doing our Windows PowerShell Special Forces training in Columbus, OH at the end of next month. In addition to the normal 3 day class, I’ll also be offering a bonus 2 day class for more experienced PowerShellers covering advanced topics and managing Active Directory. If you are inclined, you can also sign up for the entire week at a discount.
Classes will be held at in the friendly offices of Quest Software, but space is limited because these are very intense, hands-on sessions. If you’ve been putting off getting training, don’t wait any longer. This is the most unique training event I think you’ll ever experience.
PrimalForms Community Quick Guide
SAPIEN is begun offering free product and technology Quick Guides. These are short (2-5 pages) guides on how to do a specific task. This month I just published a quick guide on getting started with PrimalForms Community Edition. The guide walks you through using this free tool to create a graphical front end to your […]
Select-PropertyValue
Because PowerShell is all about the objects, I often point out to beginners to use the Select-Object cmdlet to see all the properties of an object and their values.
get-process powershell | select *
Using Get-Member is helpful to discover property names but sometimes you need to see a value to know which property or properties you really want to work with. That’s where my Select-Object suggestion comes in. Unfortunately not every property is defined for every object so you can end up with a lot of empty properties. What I wanted was a way to only display properties for an object that have a value. Here’s my solution.