Articles

PowerShell articles, tutorials, and guides from community experts.

John Mello

PhillyPoSH 05/02/2013 meeting summary and presentation materials

Jeff Wouters gave an excellent presentation via Lync on: Avoiding the pipeline - Improving your learning curve - Improving your teaching curve John Mello gave a presentation and demo of script that uses Exchange multi-valued custom attributes to store information on when to remove users from a security group after a specified amount of days. Standalone meeting material links [PhillyPosh_2013-05-02_ScriptClub](https://powershell.org/wp-content/uploads/2013/05/PhillyPosh_2013-05-02_ScriptClub.zip) PhillyPosh_2013-05-02_Presentation_JeffWouters

Don Jones

Don's Event 2 Notes

I thought I’d mentioned this last time (tap tap, this thing on?), but maybe not: don’t format the output of your functions. The minute a function includes Format-*, you’ve trapped me into on-screen display, a text file or piece of paper modeled after the on-screen display, or not a lot of other choices. If I want formatting, I’ll pipe your function to my own Format-* command of choice. But if I want CSV, or HTML, or XML, I’d like that option.

Don Jones
Scripting Games

Are you getting unfair comments in the Games?

I continue to be amused by folks’ reactions to the Games this year. There’s been some buzz on Twitter this morning from folks who feel some of their comments - and the corresponding low scores - aren’t warranted. In a couple of cases I’ve looked at, they’re right - their entries are being downrated for reasons that are actually not best practices; by following the best practices, these entries are getting lower scores.

Don Jones
Scripting Games

Scripting Games Event 1 Winners

We’re pleased to announce the winners for Event 1 of The Scripting Games 2013! Winners: You can log into The Scripting Games Web site and go to your Profile page to see your prize. You will be given a prize redemption code and either a URL where you can redeem it, or an e-mail address of the prize provider (they will need the redemption code). All prizes must be claimed by the end of July 2013.

Don Jones
PowerShell Summit

PowerShell Summit Videos

Aaron Hoover, one of our Summit attendees, was kind enough to record via webcam the sessions he attended - and he’s posted about 13 hours of video on YouTube for your viewing pleasure. What I’d like to know from you, if you don’t mind dropping a comment below, is what you think of these. If we offered this KIND of recording in the future, would it be helpful? This is something we can do easily and is affordable from a technical perspective; there’s obviously a production quality compromise.

Bartek Bielawski

Event 2: My way…

I haven’t received any negative feedback on idea to blog about “how would I do it” (what you think about my approach is different topic) so I decided to continue. Again: because I don’t want to be influenced by your ideas and make my task as close to your work as possible I post it early, before I see any of cool techniques I haven’t thought of and you did, so that I can regret it later.

Don Jones
Scripting Games

Event 2 is final!

Event 2 has closed for submissions and will open for voting later this evening. Good luck! And voters: remember that quality comments will vastly increase your chances of winning a prize!

June Blender

A Helpful Message about HelpMessage

The Scripting Games 2013 winners have not yet been announced, but for the 3rd year running, I’m in the lead for the “Learned Most from the Scripting Games” award. I’m making space for the prize on my bookshelf. Seriously, I play with PowerShell all the time and read lots of blogs, but nothing compares to looking at dozens of scripts and commands and seeing how people do things in the real world.

June Blender
PowerShell for Admins

Placing Comment-Based Help

What an amazing event. I’m now reading through each of the Advanced entries in a vain attempt to whittle the entries down to a short list. It’s an incredibly difficult task, which is testament to your skill and diligence. We are so lucky to have so many competent scripters in the community. As I read through the comments on each script, I’ve noticed several that say: “Help should be nested under the function to work properly.

Don Jones
Scripting Games

Scripting Games: What Should We Do With Comments?

Right now, I’ve got the Scripting Games Web site built to only make comments visible to a entry’s author. Some of the comments have been a little snarky, and I don’t want to create an online argument forum. I’m curious what folks think we should do as a next step. I could, for example, make comments visible to everyone once voting has ended for an event (I don’t want to make comments visible while we’re still accepting comments, because it’ll run a big risk of creating a discussion, which isn’t the intent).