Category Archives: Scripting

Friday Fun – A PowerShell Console Menu

When working in PowerShell, and especially when scripting, you might want to give the user a choice of actions. For example, you might develop a configuration script that another admin or technician will run. Perhaps one of the steps is … Continue reading

Posted in Friday Fun, PowerShell v2.0, Scripting | Tagged , , , | 10 Comments

Send PowerShell Reports by Mail

Today I came across a post about pinging a list of computers and send the results as a table via Outlook. Brian is a very smart Active Directory guy so I offered some PowerShell suggestions to make his task even … Continue reading

Posted in PowerShell, Scripting, Train Signal, Windows Server | Tagged , , , , , | 1 Comment

Friday Fun – Get Ranked Object

Earlier this week on Google Plus, Hal Rottenberg posted a PowerShell idea he had. His goal was to identify a group of objects that would be statistically significant. For example, given a collection of files, group the files by size … Continue reading

Posted in PowerShell, Scripting | Tagged , , , , | Leave a comment

Friday Fun Drive Usage Console Graph

I think you’ll like this. Normally, I prefer my PowerShell commands to write objects to the pipeline. But there’s nothing wrong with sending output directly to the console, as long as you know that the output is intended only for … Continue reading

Posted in PowerShell, Scripting, WMI | Tagged , , , , | 9 Comments

Updating Multi-Valued Active Directory Properties Part 1

Yesterday on Twitter, I got a tweet from @Docsmooth regarding how to update a multivalued property in Active Directory. There are a number of ways to handle this, especially from PowerShell naturally, so I tweeted one way in a series … Continue reading

Posted in Active Directory, PowerShell, Scripting | Tagged , , | 1 Comment