SlideShare ist ein Scribd-Unternehmen logo
1 von 23
welcome to
MAKE YOUR LIFE EASY WITH :
POWERSHELL
Aman Dhally
27th April 2013
{w}: www.amandhally.net
{t}: @amandhally
{f}: http://www.facebook.com/aman.dhally
^
I.T. / admin
about me
about me.
about me
• 13+ yrs. Of experience in I.T.
• Mainly works on Microsoft windows
platform.
• Founder of “New Delhi Powershell User
Group”.
• Writes articles on www.amandhally.net
• Loves to write script and upload them at
TechNet.
“Our Current Position {status}”
not Facebook one, 
current position
• Tired doing same stuff again and again.
• Angry?, stuff is not working the way we want.
• No time for learning new stuff.
• Work load?
“what ‘we’ ideally want{status}”
what we wants
• Spending more time with the family, rather then at office doing
manual work,
• Learning about new stuff , new technologies,
• Engaging in leisure activities.
If not, then at least we deserve this.
• OR
• At be least worry free and have some free time at office.
:o)
Seems, good, but how?
automation
• Let computer do , what they are suppose to do “to make
our life easy.”
• Get rid of all manual task and try to automate using
scripts as much as you can.
• Make script your best friends.
• Write One and use anywhere you want and at anytime.
• Use Powershell, it is very modular scripting language.
• Use Powershell Cmdlets.
{ powershell scripting? No way, it is very hard }
It’s easy and
{show me, why should I believe you}
easy scripting
• 20 Lines of code versus one liner cmdlet in Powershell
time saving
• To Find laptop serial number
• Process
• Power off the laptop
• Turn it backward
• Check at the bottom
• Turn it on
• Time spent : approx 10 minutes
• Lets use powershell
• Run the cmdlet
Get-WmiObject win32_ComputerSystemProduct | select
Vendor,Version,Name,IdentifyingNumber,UUID
time saving
• To Find installed RAM serial number and bank
• I am sure you know the procedure.

• Lets use powershell
• Run the cmdlet
get-WmiObject win32_Physicalmemory | select
Caption,SerialNumber,BankLabel,Capacity,DeviceLocator
,PartNumber,Speed
time saving
• To check the current Static IP of the internet.
• Open www.whatismyip.com
• It take some time and shows lots of unwanted
advertisements.
• Why not to use powershell.
• The script just takes 4 seconds to complete
Why not to, create our own “toys” as
per our needs ;)
QUESTIONS?
Thanks.{w}: www.amandhally.net
{t}: @amandhally
{f}: http://www.facebook.com/aman.dhally

Weitere ähnliche Inhalte

Was ist angesagt?

Quick start website manually installing word press pdf
Quick start website manually installing word press pdfQuick start website manually installing word press pdf
Quick start website manually installing word press pdf
viet nghiem
 

Was ist angesagt? (20)

Building a website based on Joomla
Building a website based on JoomlaBuilding a website based on Joomla
Building a website based on Joomla
 
WordCamp SF 2011: Debugging in WordPress
WordCamp SF 2011: Debugging in WordPressWordCamp SF 2011: Debugging in WordPress
WordCamp SF 2011: Debugging in WordPress
 
Leeward WordPress Meetup- Caching and Website Speed
Leeward WordPress Meetup- Caching and Website SpeedLeeward WordPress Meetup- Caching and Website Speed
Leeward WordPress Meetup- Caching and Website Speed
 
Flyers for the ACPL Laptop Lab
Flyers for the ACPL Laptop LabFlyers for the ACPL Laptop Lab
Flyers for the ACPL Laptop Lab
 
Debugging WordPress Performance using EasyEngine
Debugging WordPress Performance using EasyEngineDebugging WordPress Performance using EasyEngine
Debugging WordPress Performance using EasyEngine
 
WordCamp Sheffield 2014 Theme Workflow Presentation
WordCamp Sheffield 2014 Theme Workflow PresentationWordCamp Sheffield 2014 Theme Workflow Presentation
WordCamp Sheffield 2014 Theme Workflow Presentation
 
Building your first plugin
Building your first pluginBuilding your first plugin
Building your first plugin
 
How to Install WordPress 2014 in cPanel
How to Install WordPress 2014 in cPanelHow to Install WordPress 2014 in cPanel
How to Install WordPress 2014 in cPanel
 
Debugging wordpress
Debugging wordpress Debugging wordpress
Debugging wordpress
 
Rapid WordPress theme development
Rapid WordPress theme developmentRapid WordPress theme development
Rapid WordPress theme development
 
WordCamp Mumbai 2017: How to get more involved with WordPress
WordCamp Mumbai 2017: How to get more involved with WordPressWordCamp Mumbai 2017: How to get more involved with WordPress
WordCamp Mumbai 2017: How to get more involved with WordPress
 
WordCamp Birmingham 2015 - Theme building tricks of the trade
WordCamp Birmingham 2015 - Theme building tricks of the tradeWordCamp Birmingham 2015 - Theme building tricks of the trade
WordCamp Birmingham 2015 - Theme building tricks of the trade
 
WordPress Security & Backup
WordPress Security & Backup WordPress Security & Backup
WordPress Security & Backup
 
Quick start website manually installing word press pdf
Quick start website manually installing word press pdfQuick start website manually installing word press pdf
Quick start website manually installing word press pdf
 
Working local
Working localWorking local
Working local
 
Standards.next: HTML - Are you mything the point?
Standards.next: HTML - Are you mything the point?Standards.next: HTML - Are you mything the point?
Standards.next: HTML - Are you mything the point?
 
How to install wordpress
How to install wordpressHow to install wordpress
How to install wordpress
 
WordCamp Netherlands 2012: WordPress in 2012
WordCamp Netherlands 2012: WordPress in 2012WordCamp Netherlands 2012: WordPress in 2012
WordCamp Netherlands 2012: WordPress in 2012
 
Creating Your Own Static Website Generator
Creating Your Own Static Website GeneratorCreating Your Own Static Website Generator
Creating Your Own Static Website Generator
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web development
 

Andere mochten auch

Windows command prompt a to z
Windows command prompt a to zWindows command prompt a to z
Windows command prompt a to z
Subuh Kurniawan
 
Automating Active Directory mgmt in PowerShell
Automating Active Directory mgmt in PowerShellAutomating Active Directory mgmt in PowerShell
Automating Active Directory mgmt in PowerShell
Concentrated Technology
 

Andere mochten auch (20)

Practical PowerShell Programming for Professional People
Practical PowerShell Programming for Professional PeoplePractical PowerShell Programming for Professional People
Practical PowerShell Programming for Professional People
 
Powershell training material
Powershell training materialPowershell training material
Powershell training material
 
Tool Development 08 - Windows Command Prompt
Tool Development 08 - Windows Command PromptTool Development 08 - Windows Command Prompt
Tool Development 08 - Windows Command Prompt
 
Introduction to Powershell Version 5
Introduction to Powershell Version 5Introduction to Powershell Version 5
Introduction to Powershell Version 5
 
Execute sql query or sql command sql server using command prompt
Execute sql query or sql command sql server using command promptExecute sql query or sql command sql server using command prompt
Execute sql query or sql command sql server using command prompt
 
Windows command prompt a to z
Windows command prompt a to zWindows command prompt a to z
Windows command prompt a to z
 
Meet Windows PowerShell
Meet Windows PowerShellMeet Windows PowerShell
Meet Windows PowerShell
 
Automating ad with powershell
Automating ad with powershellAutomating ad with powershell
Automating ad with powershell
 
PS scripting and modularization
PS scripting and modularizationPS scripting and modularization
PS scripting and modularization
 
Ad disasters & how to prevent them
Ad disasters & how to prevent themAd disasters & how to prevent them
Ad disasters & how to prevent them
 
Automating Active Directory mgmt in PowerShell
Automating Active Directory mgmt in PowerShellAutomating Active Directory mgmt in PowerShell
Automating Active Directory mgmt in PowerShell
 
PowerShell crashcourse
PowerShell crashcoursePowerShell crashcourse
PowerShell crashcourse
 
Best free tools for win database admin
Best free tools for win database adminBest free tools for win database admin
Best free tools for win database admin
 
PowerShell and the Future of Windows Automation
PowerShell and the Future of Windows AutomationPowerShell and the Future of Windows Automation
PowerShell and the Future of Windows Automation
 
Introduction to powershell
Introduction to powershellIntroduction to powershell
Introduction to powershell
 
Server Core2
Server Core2Server Core2
Server Core2
 
Ha & drs gotcha's
Ha & drs gotcha'sHa & drs gotcha's
Ha & drs gotcha's
 
PowerShell v4 Desired State Configuration
PowerShell v4 Desired State ConfigurationPowerShell v4 Desired State Configuration
PowerShell v4 Desired State Configuration
 
PowerShell Functions
PowerShell FunctionsPowerShell Functions
PowerShell Functions
 
Three cool cmdlets I wish PowerShell Had!
Three cool cmdlets I wish PowerShell Had!Three cool cmdlets I wish PowerShell Had!
Three cool cmdlets I wish PowerShell Had!
 

Ähnlich wie Use Powershell to make your life easy.

Did i do the right thing show
Did i do the right thing showDid i do the right thing show
Did i do the right thing show
Fajri Abdillah
 
Driving application development through behavior driven development
Driving application development through behavior driven developmentDriving application development through behavior driven development
Driving application development through behavior driven development
Einar Ingebrigtsen
 

Ähnlich wie Use Powershell to make your life easy. (20)

Did i do the right thing show
Did i do the right thing showDid i do the right thing show
Did i do the right thing show
 
Git Makes Me Angry Inside
Git Makes Me Angry InsideGit Makes Me Angry Inside
Git Makes Me Angry Inside
 
Did i do the right thing?
Did i do the right thing?Did i do the right thing?
Did i do the right thing?
 
SharePoint Framework 101 (SPFx)
SharePoint Framework 101 (SPFx)SharePoint Framework 101 (SPFx)
SharePoint Framework 101 (SPFx)
 
Code Bootcamp for Kids- Learn Programming -Texavi AnalystZone by Pardha Sarad...
Code Bootcamp for Kids- Learn Programming -Texavi AnalystZone by Pardha Sarad...Code Bootcamp for Kids- Learn Programming -Texavi AnalystZone by Pardha Sarad...
Code Bootcamp for Kids- Learn Programming -Texavi AnalystZone by Pardha Sarad...
 
Automated Acceptance Testing from Scratch
Automated Acceptance Testing from ScratchAutomated Acceptance Testing from Scratch
Automated Acceptance Testing from Scratch
 
Driving application development through behavior driven development
Driving application development through behavior driven developmentDriving application development through behavior driven development
Driving application development through behavior driven development
 
Creating a Great Portfolio Site
Creating a Great Portfolio SiteCreating a Great Portfolio Site
Creating a Great Portfolio Site
 
Untangling - fall2017 - week 7
Untangling - fall2017 - week 7Untangling - fall2017 - week 7
Untangling - fall2017 - week 7
 
Web 3, Week 1: Amazon Web Services for Beginners
Web 3, Week 1: Amazon Web Services for BeginnersWeb 3, Week 1: Amazon Web Services for Beginners
Web 3, Week 1: Amazon Web Services for Beginners
 
Learning to code
Learning to codeLearning to code
Learning to code
 
It's XP Stupid (2019)
It's XP Stupid (2019)It's XP Stupid (2019)
It's XP Stupid (2019)
 
Learn to Code and Have Fun Doing It!
Learn to Code and Have Fun Doing It! Learn to Code and Have Fun Doing It!
Learn to Code and Have Fun Doing It!
 
If you want to automate, you learn to code
If you want to automate, you learn to codeIf you want to automate, you learn to code
If you want to automate, you learn to code
 
ACM Init() lesson 1
ACM Init() lesson 1ACM Init() lesson 1
ACM Init() lesson 1
 
Adobe AEM CQ5 - Developer Introduction
Adobe AEM CQ5 - Developer IntroductionAdobe AEM CQ5 - Developer Introduction
Adobe AEM CQ5 - Developer Introduction
 
First app
First appFirst app
First app
 
Introduction to the intermediate Python - v1.1
Introduction to the intermediate Python - v1.1Introduction to the intermediate Python - v1.1
Introduction to the intermediate Python - v1.1
 
Practical engineering
Practical engineeringPractical engineering
Practical engineering
 
How engineering practices help business
How engineering practices help businessHow engineering practices help business
How engineering practices help business
 

Kürzlich hochgeladen

Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
UK Journal
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 

Kürzlich hochgeladen (20)

ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 

Use Powershell to make your life easy.

  • 2. MAKE YOUR LIFE EASY WITH : POWERSHELL Aman Dhally 27th April 2013 {w}: www.amandhally.net {t}: @amandhally {f}: http://www.facebook.com/aman.dhally ^ I.T. / admin
  • 5. about me • 13+ yrs. Of experience in I.T. • Mainly works on Microsoft windows platform. • Founder of “New Delhi Powershell User Group”. • Writes articles on www.amandhally.net • Loves to write script and upload them at TechNet.
  • 6.
  • 7. “Our Current Position {status}” not Facebook one, 
  • 8. current position • Tired doing same stuff again and again. • Angry?, stuff is not working the way we want. • No time for learning new stuff. • Work load?
  • 9. “what ‘we’ ideally want{status}”
  • 10. what we wants • Spending more time with the family, rather then at office doing manual work, • Learning about new stuff , new technologies, • Engaging in leisure activities.
  • 11. If not, then at least we deserve this. • OR • At be least worry free and have some free time at office. :o)
  • 13. automation • Let computer do , what they are suppose to do “to make our life easy.” • Get rid of all manual task and try to automate using scripts as much as you can. • Make script your best friends. • Write One and use anywhere you want and at anytime. • Use Powershell, it is very modular scripting language. • Use Powershell Cmdlets.
  • 14. { powershell scripting? No way, it is very hard }
  • 16. {show me, why should I believe you}
  • 17. easy scripting • 20 Lines of code versus one liner cmdlet in Powershell
  • 18. time saving • To Find laptop serial number • Process • Power off the laptop • Turn it backward • Check at the bottom • Turn it on • Time spent : approx 10 minutes • Lets use powershell • Run the cmdlet Get-WmiObject win32_ComputerSystemProduct | select Vendor,Version,Name,IdentifyingNumber,UUID
  • 19. time saving • To Find installed RAM serial number and bank • I am sure you know the procedure.  • Lets use powershell • Run the cmdlet get-WmiObject win32_Physicalmemory | select Caption,SerialNumber,BankLabel,Capacity,DeviceLocator ,PartNumber,Speed
  • 20. time saving • To check the current Static IP of the internet. • Open www.whatismyip.com • It take some time and shows lots of unwanted advertisements. • Why not to use powershell. • The script just takes 4 seconds to complete
  • 21. Why not to, create our own “toys” as per our needs ;)
  • 23. Thanks.{w}: www.amandhally.net {t}: @amandhally {f}: http://www.facebook.com/aman.dhally

Hinweis der Redaktion

  1. This is another option for an Overview slides using transitions.