This document introduces Powershell as a way to automate tasks and make life easier. It discusses how Powershell can be used to retrieve system information like serial numbers and IP addresses much faster than doing it manually. The document argues that Powershell is easy to learn and use through cmdlets and scripts. It encourages the reader to start automating repetitive tasks and creating their own Powershell scripts to save time and effort.
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.
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?
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.
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 ;)