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

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

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.