Microsoft Scripting Guy Ed Wilson here. The Smokey Mountains are about 10 degrees cooler than Charlotte , North Carolina , is. The problem is that it was nearly 100 degrees Fahrenheit in Charlotte. Anyway, getting to spend some time with my old high school...
Microsoft Scripting Guy Ed Wilson here. The neighbor’s dog never seems to sleep. It is up early this morning, singing for its breakfast. I have news for the creature: Its voice is not nearly as great as he thinks it is. Oh, well, for these past...
Microsoft Scripting Guy Ed Wilson here. The Scripting Wife and I are on the road again. She is driving, and I am playing around with Windows PowerShell enumerations. Teresa made friends with a couple we met in the concierge lounge of our hotel in Lisbon...
Microsoft Scripting Guy Ed Wilson here. The constant pounding of the waves against the shore has a calming effect upon stressed psyches. The moist salty ocean air carries to the balcony as the sea spray from the waves wafts along the brisk breeze that...
Microsoft Scripting Guy Ed Wilson here. The Scripting Wife met me as I was coming down the back stairs with her suitcase packed. “Good morning, my dear! What’s up?” I exclaimed with a hint of curiosity in my voice. “We are heading...
When I teach PowerShell, I point out the consistency within and across the product. When you learn something, it can be broadly used in other circumstances. This is the power of knowledge transfer – learning things once and using that knowleldge to solve...
< # .SYNOPSIS This script demonstrates the confirmance level enum. .DESCRIPTION This script displays the values form the conformancelevel enum and checks it against a value. .NOTES ...
I’ve been reading Jeffrey Snover's discussions on ENUMs over on the PowerShell Team blog ( here , and here ). I knew most of this stuff and have been playing with Enums and PowerShell for a while. I’ve created a bunch of sample scripts...
# Get-DomainModeEnumValues.ps1 # Prints out the values of the DomainMode Enum # Thomas Lee - tfl@psp.co.uk # Enumerate System.DirectoryServices.ActiveDirectory.DomainMode $enums =[enum]::GetValues([System.DirectoryServices.ActiveDirectory.DomainMode]) ...
# Get-ForestModeEnumValues.ps1 # Prints out the values of the ForestMode Enum # Thomas Lee - tfl@psp.co.uk # Enumerate System.DirectoryServices.ActiveDirectory.forestmode $enums =[enum]::GetValues([System.DirectoryServices.ActiveDirectory.ForestMode]) ...