Tag Archives: tips

Scripting Games 2013: Event 3 Notes

Wow, it is hard to believe that we are now halfway through the Scripting Games! As the events have progressed, I have seen a lot of improvement with the techniques as well as seeing new techniques that continue to impress … Continue reading

Posted in powershell, Scripting Games 2013 | Tagged , , , | 4 Comments

Scripting Games 2013: Event 2 ‘Favorite’ and ‘Not So Favorite’

Event 2 is in the books and with that, it is time to take a look at all of the scripts submitted and make the difficult decisions as to which ones I liked and which ones I didn’t quite like. … Continue reading

Posted in 2013 Scripting Games Judges Notes, powershell, Scripting Games 2013 | Tagged , , | 3 Comments

Scripting Games 2013: Thoughts After Event 1

With Event 1 in the books for the 2013 Scripting Games, we are now in the voting period where the community gets the chance to play judge on all of the scripts submitted by voting and commenting on the submissions. … Continue reading

Posted in 2013 Scripting Games Judges Notes, Scripting Games 2013 | Tagged , , | 10 Comments

Scripting Games 2013: Naming Conventions for Functions and Scripts

My last post of the night. While reviewing scripts, I have seen multiple entries that are something like the following: Move-LogFiles Move-ApplicationLogs Move-Files MoveFile What is the problem with this you ask? Well, for starters, there are no plural nouns … Continue reading

Posted in 2013 Scripting Games Judges Notes, Scripting Games 2013, Tips | Tagged , , , | 2 Comments

Scripting Games 2013: Use of SupportsShouldProcess in Functions/Scripts

Edit: I was caught speeding when I put up this post. Move-Item will pick up on SupportsShouldProcess and handle the –Whatif and –Confirm without having to supply the $Pscmdlet.SupportsShouldProcess().  In fact, adding this to a cmdlet that already supports it … Continue reading

Posted in Scripting Games 2013, Tips | Tagged , , , | 5 Comments