Our PowerShell boot camp was very successful and popular. Registration was limited so we'd like to set up a class for some time this Winter.Â…   More »
More fun with Microsoft Word and PowerShell
August 15th, 2008 by Jeffery Hicks
I needed a demonstration for one of my last online PowerShell classes on using COM objects in PowerShell. I took an old VBScript that used Microsoft Word to get document statistics such as word and page count and transformed it into PowerShell. I quickly realized I could flesh out the demo into a larger function that I can actually use. Given that I generate a lot of Word docs, being able to get some document statistics is helpful. So I created a function called Get-DocStatistic.   More »
Analyze-Packet Reloaded
August 14th, 2008 by Jeffery Hicks
While getting caught up on my podcast back log I was listening to an episode of Mind of Root. In it Steven Murawski mentioned my Get-Packet and Analyze-Packet PowerShell scripts. One of his (legitimate) issues with Analyze-Packet was the way it presented results. The original version simply wrote information to the console. It didn't use a good object model so that you could format the results the way you wanted. I took this as a challenge to improve the script.   More »
PowerShell InputBox
August 13th, 2008 by Jeffery Hicks
The other day I gave you a function to create a VBScript style message box in PowerShell. If you find yourself needing MsgBox in PowerShell, you're likely going to want InputBox.   More »
PowerShell, VBScript, Shells and Cmdlets
August 12th, 2008 by Alex Riedel
We are currently running a survey about PowerShell adoption. If you haven't had a chance yet to participate, please go here to do so: Take…   More »
PowerShell MsgBox
August 12th, 2008 by Jeffery Hicks
if you came from the VBScript world you may be missing a few old friends in PowerShell. Because Powershell is a management console, it lacks a GUI unless you create one using Windows forms. Things will change a bit in PowerShell v2.0 but for now let's stick with what we have. If you really need a message box, ala VBScript, then simply call it from PowerShell. All you need to do is use the [microsoft.visualbasic.interaction] class and the MsgBox method.   More »
Fine Tuning Set-CASMailbox
August 8th, 2008 by IlseVanCriekinge
When you use the EMS cmdlet Set-CASMailbox to configure user-based segmentation for Outlook Web Access, you may already have noticed that even though you set the value of just one property to $False, by running a simple line like
Set-CASMailbox UserA -OWAChangePasswordEnabled:$False
Exchange will set the value of all properties starting with OWA to $False, thereby disabling almost every feature of Outlook Web Access for that user or the users you selected to change. Exchange will enable the ability to change the password using OWA, but will disable all other features that weren't explicitly enabled or disabled prior to running the cmdlet. There are quite a few easy ways to reset or undo the changes.   More »
New PrimalToys object for easier CSV handling
August 8th, 2008 by Alex Riedel
With service build 569 of PrimalScript 2007 we added a COM object that makes it easier to deal with CSV (comma separated values) data and/or…   More »







