user powershell for task automation

18
A UTOMATE YOUR MANUAL TASKS WITH POWERSHELL Aman Dhally 20 th April 2013

Upload: aman-dhally

Post on 01-Jul-2015

377 views

Category:

Technology


3 download

DESCRIPTION

A slide on how to use Powershell for task au

TRANSCRIPT

Page 1: User Powershell for Task Automation

AUTOMATE YOUR MANUAL

TASKS WITH POWERSHELL

Aman Dhally

20th April 2013

Page 2: User Powershell for Task Automation

About Me

Page 3: User Powershell for Task Automation

About me

• 13+ yrs. Of experience in I.T.

• Mainly works on Microsoft windows platform.

• Founder of “New Delhi Powershell User Group”.

• Writing articles on www.amandhally.net

• Love to write script and upload them at TechNet.

Page 4: User Powershell for Task Automation
Page 5: User Powershell for Task Automation

Introduction of PowerShell.

Page 6: User Powershell for Task Automation

History

• Designed by “Jeffrey Snover, Bruce Payette and James Truher ”• Started as project “Monad” in 2002 , in April 2005 Microsoft renamed it as

“Windows PowerShell”. • For windows XP, Server 2003 available as optional feature.• Now Integrated in Windows 7 and Windows Server 2008 R2• Version 1.0 released in 2006• Version 2.0 released in 2009• Version 3.0 (CTP 2 ) in Dec 2011• Version 3.0 is available in Windows8 and Server 8

Page 7: User Powershell for Task Automation

WHY TO USE POWERSHELL?

• It is “Easy”.• Easy to “learn”• Easy to “Use”.• Easy to “Deploy”.• Easy to “Find Resources”• Easy to “Find Help”

Page 8: User Powershell for Task Automation

MANUAL TASKS?

Page 9: User Powershell for Task Automation

What are manual tasks?

• Pinging multiple servers.

• Backups.

• Want to write an GUI to ease of some manual process?

• Automate Active Directory related stuff.

• Generate Reports.

• Lots more…..

Page 10: User Powershell for Task Automation

WHY TO AUTOMATE MANUAL TASKS?

Page 11: User Powershell for Task Automation

Why to automate manual tasks?

• Time saving.

• For lazy admins (like me).

• To get some free time to learn new things.

• Help in enhancing scripting skills.

• Be a “Geek” not a… :D

• Try to create you own application.

Page 12: User Powershell for Task Automation

SCRIPTS.

Page 13: User Powershell for Task Automation

Scripts: Ping Multiple Server

Page 14: User Powershell for Task Automation

Scripts: Ping Multiple Server with trace route

Page 15: User Powershell for Task Automation

Scripts: Ping Multiple Server and sending output via email.

Page 16: User Powershell for Task Automation

DEMO/IDEAS?

Page 17: User Powershell for Task Automation

QUESTIONS?

Page 18: User Powershell for Task Automation

Thanks.