user powershell for task automation
DESCRIPTION
A slide on how to use Powershell for task auTRANSCRIPT
AUTOMATE YOUR MANUAL
TASKS WITH POWERSHELL
Aman Dhally
20th April 2013
About Me
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.
Introduction of PowerShell.
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
WHY TO USE POWERSHELL?
• It is “Easy”.• Easy to “learn”• Easy to “Use”.• Easy to “Deploy”.• Easy to “Find Resources”• Easy to “Find Help”
MANUAL TASKS?
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…..
WHY TO AUTOMATE MANUAL TASKS?
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.
SCRIPTS.
Scripts: Ping Multiple Server
Scripts: Ping Multiple Server with trace route
Scripts: Ping Multiple Server and sending output via email.
DEMO/IDEAS?
QUESTIONS?
Thanks.