While developing a COM object for scripting use I wanted to provide a VBScript sample as well as a PowerShell sample. While creating the PowerShell sample I received an unexpected error message when setting a property value. Some quick review shows that PowerShell 1.0 (I did not check with the 2.0 CTP yet) cannot handle […]
Tag: powershell
Touch This
One of the last tasks for the Active Directory Powershell book was to assemble all the script samples. When the book is available you’ll be able to download a zip file from SAPIENPress.com. One thing I wanted to do was to use the file time stamp as a versioning tool.
PowerShell 101 now part of PrimalScript 2007 Enterprise Edition
As of August 1st 2008 every CD of PrimalScript 2007 Enterprise shipped will include a copy of our PowerShell 101 Class-On-Disc. To find out more about this title please look here: PowerShell 101 If you already own PrimalScript 2007 Enterprise you can order a replacement CD with PowerShell 101 from ScriptingOutpost.com Ordering will require a […]
More Fun with Debug Messages
A few weeks ago I posted an entry on creating customized debug messages that you can use in your scripting. After some more testing and tweaking I revised and renamed the function. Write-DebugMessage can now be used within your script to send messages to the debug pipeline. I moved the $debugpreference setting to the function itself and made other improvements.
Why a variable called AdminSessionADSettings might interest you as Exchange 2007 Admin
I must admit, I love Exchange, and the first look I had on Exchange 2007, I was feeling very uneasy when faced with the Exchange Management Shell. But second thing to admit, after working with the shell for almost two years now, I love the power of this thing with the perfect name: POWERShell 🙂
As an Exchange administrator, it is hard not to get familiar with the Shell. And I will try to post in this blog some tips that will be useful for you as an exchange administrator, and hopefully make some powershells addicts have a look at this great messaging product Exchange is now, (and have to admit, always has been ;-))
PowerShell: DriveUtilization
The other day I posted a VBS function for getting drive utilization. It seems only fair to give PowerShell a chance to play.
"Live" Variables
In a recent PowerShell ScriptingAnswers.com post, a member was asking about variables and whether they were “live” or linked to an actual object.The answer is “Yes and No, depending…”
Searching Word
One of the last tasks I needed to accomplish to get Managing Active Directory with Windows PowerShell: TFM ready for publication was to assemble all the script samples. They’ll be available for download from SAPIENPress when the book is published. I knew that most of the scripts were in my primary scripts directory, but probably not all. I usually copied scripts from my test environment to my scripts directory but I knew some were bound to be missing. I didn’t want to manually open 16 chapters, search for script names, check if I had the script and then move it to a new folder. I don’t have time for that. But I do have time to figure out how to do it in PowerShell.
VMWare Book Reviewers
I hope the interest in reviewing Hal’s VMWare book is a sign of general interest. Thanks to all who sent in requests. At this point I think we have all that we need. If you made the cut you’ll get an email with a logon id and additional instructions. Also to clarify a requirement, reviewers […]
Technical Reviewers needed
PowerShell and VMWare guru Hal Rottenberg is hard at work on Managing VMWare with Windows PowerShell: TFM. We are now in need of a handful of committed technical reviewers.