Sign in
|
Join PowerShell.com!
|
Help
Home
PowerTips
Ask the Experts
Forums
Webcasts
Blogs
eBookV2
Script Library
Twitter Grid
Featured Posts
Dreaming in PowerShell
Don Jones
Code MarkUp Tool
Directory
April 2012 - Don Jones
Share
|
Recent Posts
Why PowerShell had Better be on Your Resume
Bummed ABout All the Cool PowerShell v3 Stuff You Can't Use?
Troubleshooting Pipeline Parameter Binding by Peeking Inside
Measure PowerShell Performance
Release Dates for PowerShell 3 announced!
Archives
August 2012 (2)
July 2012 (3)
June 2012 (6)
May 2012 (3)
April 2012 (36)
March 2012 (108)
February 2012 (2)
January 2012 (2)
December 2011 (3)
December 2009 (1)
Sort by:
Most Recent
|
Most Viewed
|
Most Commented
What Security Objections Does Remoting Raise?
Let's say you went to your organization and said, "hey, I want to enable PowerShell Remoting on all of our computers. Today." What objections would be raised? I'm asking you to be specific here. I know there are objections and questions...
Published
Wed, Apr 25 2012 4:54 PM
by
Don Jones
[UPDATED] Coming: The Massive Guide to the "Secrets of PowerShell Remoting."
UPDATE : It's out. At least the first draft. Free Guide: Secrets of PowerShell Remoting So, I've been burning the midnight oil this past week or so, with plenty of encouragement from Interface Technical Training 's Jason Helmick , to create...
Published
Sun, Apr 15 2012 4:50 PM
by
Don Jones
Chris - Day 23
0 0 1 565 3225 Concentrated Technology 26 7 3783 14.0 Normal 0 false false false EN-US JA X-NONE Todays Chapter covers the various techniques to debug your script. This has the potential to be the most immensely useful chapters in this book. Writing debugging...
Published
Wed, Apr 04 2012 4:43 PM
by
Don Jones
Chris - Final Thoughts
0 0 1 340 1940 Concentrated Technology 16 4 2276 14.0 96 800x600 Normal 0 false false false EN-US JA X-NONE I have been waiting to write this until after I had put a little of my new knowledge to use in the 2012 Scripting Games. Basically here is what...
Published
Fri, Apr 06 2012 4:47 PM
by
Don Jones
WMI for Lunch
In the current edition of L earn Windows PowerShell in a Month of Lunches, I don't spend a ton of time on WMI. I don't plan to in the v3 edition of the book, either - WMI is a big, complicated technology, and to do it justice requires a whole...
Published
Sun, Apr 01 2012 4:41 PM
by
Don Jones
2012 Scripting Games Commentary: Double Double Quotes Quotes are Your Friends Friends
Check this out: "The computer " + $hostname + " has been up for " + $uptime .days + " days, " + $uptime .hours + " hours, " + $uptime .minutes + " minutes, " + $uptime .seconds + " seconds as of "...
Published
Mon, Apr 16 2012 4:50 PM
by
Don Jones
2012 Scripting Games Commentary: Don't Lie.
I'm seeing a large number of people add this to the top of their Scripting Games scripts: [CmdletBinding(SupportsShouldProcess=$True,ConfirmImpact="Medium")] Okay, that's all well and good to declare that you support ShouldProcess (meaning...
Published
Wed, Apr 11 2012 4:49 PM
by
Don Jones
2012 Scripting Games Commentary: Copy and Paste is NOT Your Friend
Check this out - I'm pseudo-coding this so as to avoid giving away potential answers: If ( $parameter ) { $result = Do-Something foreach ( $computer in $computername ) { try { Get-Something -ComputerName $computer -Parameter 'Value' -Another...
Published
Tue, Apr 17 2012 4:51 PM
by
Don Jones
Chris - Day 24
0 0 1 483 2756 Concentrated Technology 22 6 3233 14.0 Normal 0 false false false EN-US JA X-NONE Today's chapter is over customizing PowerShells shell, its profiles, the prompt, and operators for working with strings. This is basically a mashup of...
Published
Thu, Apr 05 2012 4:44 PM
by
Don Jones
Julie - Day 22
Julie fell a day or so behind on her Month of Lunches - but not for lack of effort. Of the five folks participating in this experiment, she'd had the least background in scripting and programming, and the last chapters of the book get pretty meaty...
Published
Thu, Apr 05 2012 4:45 PM
by
Don Jones
Julie - Day 23
Today's lunch is all about debugging techniques. I knew there would be great lessons in this chapter and it did not disappoint. The chapter started with syntax errors. That's the polite term for "hey! You typed something wrong" or "No...
Published
Fri, Apr 06 2012 4:49 PM
by
Don Jones
Zack - Final Thoughts
0 0 1 283 1615 Concentrated Technology 13 3 1895 14.0 Normal 0 false false false EN-US JA X-NONE Overall completing the goal that I set for myself (Read Learn Windows PowerShell in a Month of Lunches actually on my lunches) has been extremely rewarding...
Published
Fri, Apr 06 2012 4:46 PM
by
Don Jones
2012 Scripting Games Commentary: Think About What You're Doing
Consider this code snippet from a Scripting Games entry (I've changed the code a bit - you won't be able to use this to derive a correct answer! Also, this is a snippet , so it won't run as-is): foreach ( $computer in $computername ) { try...
Published
Wed, Apr 18 2012 4:51 PM
by
Don Jones
2012 Scripting Games Commentary: Try to Write Semantically Sensible Commands
"Semantics" generally refers to the "meaning" or "sense" of something. Take this line from a recent Scripting Games entry: if ( Test-Connection $ComputerName ) Don't like it. Why? Well, because the code implies that Test...
Published
Fri, Apr 20 2012 4:52 PM
by
Don Jones
Anyone Got a Script I Can Borrow?
One of the last chapters I'm adding to the next Learn Windows PowerShell in a Month of Lunches will be the most practical thing I can think of: A chapter on how to dissect some script you found on the Internet, customize it, and use it. It's probably...
Published
Fri, Apr 06 2012 4:47 PM
by
Don Jones
< Previous
1
2
3
Next >
Copyright 2012 PowerShell.com. All rights reserved.