Your SlideShare is downloading. ×
Scriptclub1
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Scriptclub1

178
views

Published on

Published in: Technology, Education

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

  • Be the first to like this

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

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. SCRIPT CLUB
    Sean Kearney - MCSE, MCTS
  • 2. SCRIPT CLUB - RULES
  • 3. SCRIPT CLUB - RULES
    YOU ALWAYS TALK ABOUT SCRIPT CLUB
  • 4. SCRIPT CLUB - RULES
    YOU ALWAYS TALK ABOUT SCRIPT CLUB
  • 5. SCRIPT CLUB - RULES
    If Someone asks for Help, And You Can Help, You Help
  • 6. SCRIPT CLUB - RULES
    TWO PEOPLE HELP
    ONE PERSON AT ONE TIME
  • 7. SCRIPT CLUB - RULES
    ONE MODULE
    PER PERSON PER NIGHT
  • 8. SCRIPT CLUB - RULES
    ALL SCRIPTS
    ALL POWERSHELL
  • 9. SCRIPT CLUB - RULES
    SCRIPTS WILL BE AS
    SHORT AS THEY CAN BE
  • 10. SCRIPT CLUB - RULES
    If THIS IS YOU FIRST TIME AT SCRIPT CLUB
    YOU HAVE TO SCRIPT
  • 11. SCRIPT CLUB
    Examining files & folders by date time
    The DEL Command you always wanted
  • 12. SCRIPT CLUB
    GET-CHILDITEM
    "Get-Childitem is like DIR"
  • 13. SCRIPT CLUB
    REMOVE-ITEM
    “Remove-Item is like DEL"
  • 14. SCRIPT CLUB
    PIPING
    “Placing a ‘|’ between commands passes information between"
  • 15. SCRIPT CLUB
    WHERE-OBJECT
    “Let’s you examine PIPED output"
  • 16. SCRIPT CLUB
    “LET’S SCRIPT!”
  • 17. SCRIPT CLUB
    GET-CHILDITEM C:SCRIPTCLUBTEMP“
    GET-CHILDITEM c:SCRIPTCLUBTEMP | WHERE { $_.LastWriteTime.ToShortDateString() -eq '8/24/2009' }
    $CURRENTDATE=GET-DATE
    GET-CHILDITEM C:SCRIPTCLUBTEMP | WHERE { $CURRENTDATE.ADDDAYS(-7) -gt $_.LastWriteTime }
    GET-CHILDITEM C:SCRIPTCLUBTEMP*.TMP | WHERE { $CURRENTDATE.ADDDAYS(-7) -gt $_.LastWriteTime }
    GET-CHILDITEM C:SCRIPTCLUBTEMP*.TMP | WHERE { $CURRENTDATE.ADDDAYS(-7) -gt $_.LastWriteTime } | REMOVE-ITEM -WHATIF
    GET-CHILDITEM C:SCRIPTCLUBTEMP*.TMP | WHERE { $CURRENTDATE.ADDDAYS(-7) -gt $_.LastWriteTime } | REMOVE-ITEM
    Get’s all Files and Folders in specified folder”
    “Get’s all Files and Folders in specified folder Modified on a SPECIFIC DATE”
    “Store the Current Date in a Variable called ‘$CURRENTDATE’”
    “Get’s all Files and Folders in specified folder over 7 days old”
    “Get’s only Files and Folders in specified folder with the extension of ‘TMP’ over 7 days old”
    “Do a ‘WHATIF’ on Removing only Files and Folders in specified folder with the extension of ‘TMP’ over 7 days old”
    “Remove only Files and Folders in specified folder with the extension of ‘TMP’ over 7 days old”
  • 18. 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
  • 19. 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