Showing archive results for 2006

Jun 24, 2006
Post comments count0
Post likes count0

Managing Active Directory with Windows PowerShell

PowerShell Team

MOW is now posting the details of his Managing Active Directory with Windows PowerShell demo that he performed at my TechEd talk.  This is worthwhile for everyone to review.  For the people at the talk, we covered a huge amount of data in a very short time so it would be worth while to walk through the details.  For everyone els...

FAQPHILOSOPHY
Jun 23, 2006
Post comments count0
Post likes count0

Cleaning up obsolete Windows PowerShell Aliases

PowerShell Team

Over the course of time, I've written a number of functions & cmdlets and then created aliases for those.  Many of those where Ad Hoc and I've since thrown them away but I still have the aliases sticking around.  Here is a quick and easy way to determine the validity of your aliases gal |%{if (!(gcm $_.Definition -ea SilentlyContinue)...

ENVIRONMENT
Jun 23, 2006
Post comments count0
Post likes count0

Leveraging Windows PowerShell Type Extensions to get documentation

PowerShell Team

After just a little use of Windows PowerShell, you quickly learn that you need to pipe objects in the GET-MEMBER utility to understand the capabilities of that object.  Get-Member reflects against the object and shows you all of its methods and properties (more as well but that will be a different blog).  Get-Member is getting that inform...

FAQDOCUMENTATIONTYPEEXTENSION
Jun 23, 2006
Post comments count0
Post likes count0

Windows PowerShell documentation

PowerShell Team

I have recently noticed that a number of people have missed the fact that we have a Windows PowerShell Documenation Download (for RC1) at: http://www.microsoft.com/downloads/details.aspx?FamilyId=2B0BBFCD-0797-4083-A817-5E6A054A85C9&displaylang=en Everyone should download this document and give it a read.  I think you'll be pleasantly surp...

DOCUMENTATION
Jun 23, 2006
Post comments count0
Post likes count0

Exchange PowerShell Scripting Contest

PowerShell Team

You are one line of code away from fame and riches ... eeerrrr ... make that fame and a trip to New York.  The Exchange team is holding a scirpting contest.  Produce the coolest one line Windows PowerShell script and you can win a trip to New York to attend the Exchange 2007 launch.  Check out the details at http://www.microsoft.com/...

Jun 23, 2006
Post comments count0
Post likes count0

Flexible pipelining with ScriptBlock Parameters

PowerShell Team

PSMDTAG:FAQ: How can I pipeline data to a parameter which does not accept pipeline input?PSMDTAG:FAQ: What are ScriptBlock Parameters? One of the foundation concepts of Windows PowerShell is pipelining objects instead of text.  What happens is that when an upstream command generates an object, the PowerShell engine examines the data requiremen...

FAQPHILOSOPHYINTERNAL
Jun 21, 2006
Post comments count0
Post likes count0

More – How does PowerShell formatting really work?

PowerShell Team

<Edited 7/2/2006 with tags and categories>PSMDTAG:FAQ: Why doesn't output expand when I expand the width of the console?PSMDTAG:FAQ: Why doesn't output expand when I use -noElements on GROUP? Consider the example: PS> gps |group company Count Name              ...

FAQPHILOSOPHYINTERNAL
Jun 21, 2006
Post comments count0
Post likes count0

$ERRORVIEW="CATEGORYVIEW"

PowerShell Team

<Edited 7/2/2006 with tags and categories>PSMDTAG:FAQ: What is $ErrorView?PSMDTAG:FAQ: How do I get error details? Have you tried out $ErrorView="CategoryView" yet?  Remember -  errors are just objects.  Given that they are objects, we render a subset of their properties to the console.  We provide 2 views: Normal an...

FAQPHILOSOPHYERROR
Jun 21, 2006
Post comments count0
Post likes count0

Windows PowerShell Podcasts with Don Jones available at www.ScriptingAnswers.com

PowerShell Team

ScriptingAnswers.com has a number of scripting related podcasts at: http://feeds.feedburner.com/ScriptinganswerscomAudioNetwork I had the pleasure of discussing PowerShell with Don Jones during 2 of these.  BTW - if you are not already clued into this website, it is worth an explore.  There is lots of good scripting materials here. Don an...