SCRIPT CLUB<br />Sean Kearney - MCSE, MCTS<br />
SCRIPT CLUB - RULES<br />“DA RULEZ, CUZ <br />WE GOTTA HAVE ‘EM”<br />
SCRIPT CLUB - RULES<br />You always talk about script club<br />You   always   talk   about   script   club<br />If someon...
SCRIPT CLUB - RULES<br />All scripts, all powershell<br />
SCRIPT CLUB - RULES<br />SCRIPTS WILL BE AS SHORT AS THEY CAN BE<br />
SCRIPT CLUB - RULES<br />If THIS IS YOU FIRST TIME AT SCRIPT CLUB<br />YOU HAVE TO SCRIPT<br />
SCRIPT CLUB<br />Windows 7  and  server2008r2 <br />Powershell  I  S  E<br />
SCRIPT CLUB<br />I  S  E <br />Integrated Scripting Environment<br />
SCRIPT CLUB<br />A way to edit AND troubleshoot<br />Easier way for accessing Help<br />Better way to see what is THERE<br />
SCRIPT CLUB<br />FOREACH-OBJECT<br />Allows us to work with INDIVIDUAL parts of a list (Like a Directory)<br />
SCRIPT CLUB<br />READ-HOST<br />Let’s you READ information from the HOST system (console) and maybe store it away<br />
SCRIPT CLUB<br />Breakpoints allow you to put “STOPS” in your script for testing and troubleshooting<br />Easier way to pu...
SCRIPT CLUB<br />“LET’S SCRIPT!”<br />
SCRIPT CLUB<br />DEMO<br />“Powershell ISE!”<br />
SCRIPT CLUB<br />Powershell ISE – Built into Windows 7 and Server 2008R2  part of Powershell V2<br />RC of Powershell V2 i...
POWERSHELL<br />Powerscripting Podcast – Weekly Podcast, Free, Live Broadcast weekly<br />www.powerscripting.net<br />Powe...
Script   Club<br />Sean Kearney<br />“The Energized Tech”<br />EMAIL: sean@energizedtech.com<br />TWITTER: TWITTER.COM/YE1...
Upcoming SlideShare
Loading in...5
×

Scriptclub2

228

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
228
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 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
  • Scriptclub2

    1. 1. SCRIPT CLUB<br />Sean Kearney - MCSE, MCTS<br />
    2. 2. SCRIPT CLUB - RULES<br />“DA RULEZ, CUZ <br />WE GOTTA HAVE ‘EM”<br />
    3. 3. SCRIPT CLUB - RULES<br />You always talk about script club<br />You always talk about script club<br />If someone asks for help, and you can help, you help<br />Two people help one person at one time<br />One module, per person, per night<br />
    4. 4. SCRIPT CLUB - RULES<br />All scripts, all powershell<br />
    5. 5. SCRIPT CLUB - RULES<br />SCRIPTS WILL BE AS SHORT AS THEY CAN BE<br />
    6. 6. SCRIPT CLUB - RULES<br />If THIS IS YOU FIRST TIME AT SCRIPT CLUB<br />YOU HAVE TO SCRIPT<br />
    7. 7. SCRIPT CLUB<br />Windows 7 and server2008r2 <br />Powershell I S E<br />
    8. 8. SCRIPT CLUB<br />I S E <br />Integrated Scripting Environment<br />
    9. 9. SCRIPT CLUB<br />A way to edit AND troubleshoot<br />Easier way for accessing Help<br />Better way to see what is THERE<br />
    10. 10. SCRIPT CLUB<br />FOREACH-OBJECT<br />Allows us to work with INDIVIDUAL parts of a list (Like a Directory)<br />
    11. 11. SCRIPT CLUB<br />READ-HOST<br />Let’s you READ information from the HOST system (console) and maybe store it away<br />
    12. 12. SCRIPT CLUB<br />Breakpoints allow you to put “STOPS” in your script for testing and troubleshooting<br />Easier way to pull out variables, things don’t just “Run By”<br />
    13. 13. SCRIPT CLUB<br />“LET’S SCRIPT!”<br />
    14. 14. SCRIPT CLUB<br />DEMO<br />“Powershell ISE!”<br />
    15. 15. SCRIPT CLUB<br />Powershell ISE – Built into Windows 7 and Server 2008R2 part of Powershell V2<br />RC of Powershell V2 is Downloadable for Windows XP / Server 2003 / Vista / Server 2008 <br />BEFORE you can make Breakpoints, you have to save the script with a name at least once.<br />F9 or RIGHT CLICKING and choosing “TOGGLE BREAKPOINT” turns a Breakpoint ON or OFF. TURNS LINE SOLID RED<br />RIGHT CLICKING and choosing “DISABLE BREAKPOINT” leaves a Breakpoint available but ignored<br />F5 Runs the Script, and Continues past Breakpoinits<br />You can assign almost ANYTHING to a variable in Powershell just by preceding the name of the variable with a “$”<br />$BIGPILEOFSTUFF=GET-CHILDITEM, $OTHERTHING=‘MyName’<br />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<br />GET-MEMBER can tell you a LOT about a Variable or almost ANYTHING in Powershell, Use IT and Abuse IT<br />The Period “.” allows you to step into smaller pieces of a variable<br />
    16. 16. POWERSHELL<br />Powerscripting Podcast – Weekly Podcast, Free, Live Broadcast weekly<br />www.powerscripting.net<br />Powershell Community – Online resources from across the world on Powershell<br />www.PowershellCommunity.ORG<br />Powershell on MSDN – Home Page of the Powershell Team<br />blogs.msdn.com/powershell<br />BING – Search for Powershell and Free Resources – There’s a LOT<br />www.bing.com<br />RESROUCES<br />
    17. 17. Script Club<br />Sean Kearney<br />“The Energized Tech”<br />EMAIL: sean@energizedtech.com<br />TWITTER: TWITTER.COM/YE110WBEARD<br />www.energizedtech.com<br />ye110beard.spaces.live.com<br />www.itprotoronto.ca<br />“Powershell. It’s so Easy and it’s Free.”<br /> Highway to Powershell<br />See you next month<br />
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×