2. SCRIPT CLUB - RULES “DA RULEZ, CUZ WE GOTTA HAVE ‘EM”
3. SCRIPT CLUB - RULES You always talk about script club You always talk about script club If someone asks for help, and you can help, you help Two people help one person at one time One module, per person, per night
11. SCRIPT CLUB READ-HOST Let’s you READ information from the HOST system (console) and maybe store it away
12. SCRIPT CLUB Breakpoints allow you to put “STOPS” in your script for testing and troubleshooting Easier way to pull out variables, things don’t just “Run By”
15. SCRIPT CLUB Powershell ISE – Built into Windows 7 and Server 2008R2 part of Powershell V2 RC of Powershell V2 is Downloadable for Windows XP / Server 2003 / Vista / Server 2008 BEFORE you can make Breakpoints, you have to save the script with a name at least once. F9 or RIGHT CLICKING and choosing “TOGGLE BREAKPOINT” turns a Breakpoint ON or OFF. TURNS LINE SOLID RED RIGHT CLICKING and choosing “DISABLE BREAKPOINT” leaves a Breakpoint available but ignored F5 Runs the Script, and Continues past Breakpoinits You can assign almost ANYTHING to a variable in Powershell just by preceding the name of the variable with a “$” $BIGPILEOFSTUFF=GET-CHILDITEM, $OTHERTHING=‘MyName’ You can step through most items in a list using FOREACH-OBJECT, Once those items are in your hand you can manipulate and work with them on a much more granular level GET-MEMBER can tell you a LOT about a Variable or almost ANYTHING in Powershell, Use IT and Abuse IT The Period “.” allows you to step into smaller pieces of a variable
16. POWERSHELL Powerscripting Podcast – Weekly Podcast, Free, Live Broadcast weekly www.powerscripting.net Powershell Community – Online resources from across the world on Powershell www.PowershellCommunity.ORG Powershell on MSDN – Home Page of the Powershell Team blogs.msdn.com/powershell BING – Search for Powershell and Free Resources – There’s a LOT www.bing.com RESROUCES
17. Script Club Sean Kearney “The Energized Tech” EMAIL: sean@energizedtech.com TWITTER: TWITTER.COM/YE110WBEARD www.energizedtech.com ye110beard.spaces.live.com www.itprotoronto.ca “Powershell. It’s so Easy and it’s Free.” Highway to Powershell See you next month
Notes de l'éditeur
You Always Talk about Script ClubYou Always Talk about Script ClubIf Someone asks for Help, and you can help, you helpTwo People Help One Person at One TimeOne Module Per Person, Per NightAll Scripts All PowershellScripts will be as short as they can beIf this is your first time at script club, you have to script