2011 Scripting Games

Coming up next week is the 2011 Scripting Games.  The last two years I have participated as a guest commentator.  This year Scripting Guy Ed Wilson asked me to participate as a judge.  So start sending bribes this way now…just kidding of course, I am un-corruptible. Good luck with the games.  If you are not…

0

2010 Scripting Games Coming Soon

Those of you that read my blog, mostly do so as you are trying to become better PowerShell’ers.  This is an incredible opportunity to have actual tasks that will exercise your scripting muscles.  its a great event, and yours truly might be assisting as a guest commentator this year.  Check out the link below. Grab…

0

The Get-MailboxStatistics Cmdlet, the TotalitemSize Property, and that pesky little “b”

In my experiences with Exchange and Powershell, I have definitely come across some interesting things.  One of strangest…or so I thought…was the fact that whenever I looked at mailbox size it had a funny little “b” at the end and seemed to be in bytes.  That little “b” though made converting that number to say…

12

Quick Script to Edit a Single Attribute in AD on a Single User Account

There are no real dependencies for this script, PSv1 or v2, no snap-ins, no modules….just plain old PS (POPS 🙂 ).  No magic happening here, just some basic read-host and ADSI in play.  I wrote it for a colleague and thought I would share. #This will probably only work for strings and simple numbers and…

0

Demo of PowerShell Pipeline Behavior – Asynchronous vs. Synchronous

When I teach PowerShell classes I sometimes get into a discussion on the more advanced topic (at least for a beginner class) of pipeline behavior in terms of running multiple elements of a pipe synchronously or asynchronously.  I usually have a tough time demo’ing this in a really meaningful way until this week. The challenge…

1

Using Microsoft’s New AD PowerShell Cmdlets

In the past two weeks I have really started playing with the new AD PowerShell cmdlets from Microsoft.  I am really glad these cmdlets are finally here.  I will admit though, to get them working in my lab, it was not easy.  I cant blame this though on the cmdlets themselves, as my problems stemmed…

0

Mailbox Database Statistics

UPDATED: Minor Script Modifications made, detailed help comments added mainly for PSv2 and units added to property names First of all, let me apologize as I have been posting very much lately.  My plan with this blog was to post at least twice a week.  Obviously my posting has slowed way down.  I haven’t at…

1

Example for Identifying Domain Controller Subnet Membership with PowerShell

First of all let me thank Rich Doyle (a fellow PFE) for allowing me to post this script.  Rich writes some pretty kick-butt stuff and I know I speak for many of us that appreciate his help and his scripts! Now Rich claims he hacked this together and didn’t get around to polishing it up…

1

Counting Public Folder SubFolders

This sample script was written by a brilliant fellow PFE named Chris Schrimsher.  Chris gave me permission to post this script out there to the two of you reading my posts…you know who you are 🙂 In this script there is a concept that he is using that I like.  He uses a hash table…

1