Mini magick20151026 9709 9ef0ma big
tfl
Mar 05, 2016 2 Minute Read
Register. Track Progress. Earn Credits.
Learning has never been so easy!
Sign Up

A commonly asked question here is: "How Do I Learn PowerShell?".  This sticky post presents common responses to that question with pointers to more details. Please read this post, and look at the resources before you ask questions in the forum as they might help to get you started with PowerShell! If there are missing great references, then please comment below - I add all good ones.

How do you learn best?

This a key question to learning most things. Since there are several ways of learning PowerShell, the 'right' way.is by using the modality that suits you best. Here are some key learning modalities to help you learn Powershell:

1. Instructor-led Training

Microsoft has three official courses that you can get at any Microsoft Official Learning partnerThese are:

Numerous third-party training courses exist - I teach PowerShell across Europe and do so at an accelerated pace compared to the MS courses. (see http://www.labcenter.se/#lab=PowerShell_50_MasterClass_-_Advanced). There are other local courses you can find if you look.

2. Book Learning
Many people learn from reading books  One of the best books on PowerShell is Don Jones Learn PowerShell in a Month of Lunches. For more information on this book, see https://www.amazon.co.uk/gp/product/1617291080/ref=pd_cp_14_1/253-3973667-4487749?ie=UTF8&psc=1&... Keen-eyed readers may note the similarity between this book and the MS training courses. That is intentional as Don Jones and his team wrote both courses. 

An e-book to look at is Conversational PowerShell: 
http://conversationalgeek.com/books/conversational-powershell

3. Video Training

Some folks learn well by watching videos. There are several recommendations here:

Pluralsight - Pluralsight has a large range of PowerShell related videos covering both the basics and the more advanced topics (e.g. Using CIM cmdlets, Implementing PowerShell Web Access, etc. generally ). These are commercial offerings but not overly expensive.

Microsoft Virtual Academy - these are free videos from Miicrosoft that feature outstanding presenters. These include:

Don Jones' Learn Windows PowerShell in a Month of Lunches
This is a set of videos to accompany the book. You can use them on their own. https://www.youtube.com/playlist?list=PL6D474E721138865A

Plataan TV
Windows PowerShell 101 - a free video course introducing PowerShell.
https://plataan.tv/en/plataan/training-course/windows/windows-powershell-101

4. From the community

Netwrix has a nice blog post entitled WIndows PowerShell Scripting Tutorial for Beginners at: https://blog.netwrix.com/2018/02/21/windows-powershell-scripting-tutorial-for-beginners/ This is a nice introduction for beginners and useful as a review for those with a bit more skill.

Many people learn by reading posts here as well as by asking questions and answering questions in this amazing Spiceworks community. The Group Admins and others are a wealth of information and can provide a huge range of tips and tricks. Ask questions here - and have a go at answering them too. 

And of course, there are other communities! But why would you want to go anywhere else?

5. Podcasts

 Hal Rottenberg and Jonathan Walz have been running The PowerScripting Podcast for years. Always entertaining and always educational. Tune in at https://powershell.org/podcast/

Going Further

PowerShell is a vast subject, here are some resources for additional learning:

Advanced tools and Scripting with PowerShell 3.00 Jump Start - Another Microsoft video with Jeffrey Snover - https://mva.microsoft.com/en-US/training-courses/advanced-tools-scripting-with-powershell-30-jump-st...


Difficulty Level: Beginner
Mini magick20151026 9709 9ef0ma profile
tflTechnical Consultant/SIEngland, United Kingdom50 years in ITMCITP, MCSE, Security+
Version 7.2 Voice of IT Learn PowerShell Learn Hyper-V Learn Server Virtualization


Main Areas of Contribution:
 

36 Comments

Mini magick20170517 15105 gp0236 big
Pure Capsaicin
Rob Dunn

Great resources, tfl. Bookmarking this for later when others ask the question.

Everyone else: don't let tfl's humbleness fool you, he is a PowerShell instructor and Pluralsight trainer (among many of his other credits). He is an invaluable resource here in the Spiceworks community.

Mini magick20180228 1674 19mkbs1 big
Ghost Chili
M Boyle
Microsoft's Powershell Gateway:

https://msdn.microsoft.com/en-us/powershell

Rob's link for Free Powershell Ebooks:

http://kia.co.in/?product=topic/1056243-free-powershell-ebooks-living-post

More from Rob, Using Powershell to manipulate Active Directory:

http://kia.co.in/?product=topic/508294-active-directory-and-powershell-helpful-info

And I like this post from Matt on using Pester for PS testing:

http://kia.co.in/?product=topic/1331228-powershell-team-posts-their-pester-tests

Pitfalls/Quirks. While PS is very powerful it does have quirks, here's a good list: 

https://www.simple-talk.com/sysadmin/powershell/a-plethora-of-powershell-pitfalls/

Powershell Modules Centralhttps://github.com/ClaudioESSilva/PowerShellModulesCentral

"This repository was founded as a central hub to a list of PowerShell modules that people know/use. Each module has a file describing its name, basic information the module, as well as one or more blog posts/videos from people that have written about or used them."

Use a good editor: Visual Studio Code is one on the best: https://code.visualstudio.com/ (it's free too).

More fun with VSCode: https://vscodecandothat.com/ (some very useful suggestions.)

edit: added modules bit 2018-02-22

edit2: VSCode stuff bit 2018-05-16

Mini magick20151030 7085 dvronl big
Datil
BDAScott

Great post.. seems the question of "how do i learn" is asked more often than any other question (aside from which Cert do I go for...)

nice to see it all in one central place that will hopefully be utilized

Mini magick20141118 6030 1lobih7 big
Cayenne
Jason9103

Thank you for posting this! I'm just starting out with Powershell and this is a great consolidated list of learning resources.

Mini magick20141013 25299 n9gsb0 big
Datil
mattmcnabb

FYI: Don Jones just released a free ebook entitled "Conversational PowerShell" which details how to go about learning PowerShell. This might be a good read for those getting started.

http://conversationalgeek.com/books/conversational-powershell

Mini magick20160325 29965 1xe6m06 big
Pimiento
elijahalexagabue

great post

Mini magick20171218 49096 1npm904 big
Jalapeno
Ditoboisy

The book you posted looked a little old.  This one seemed newer.  If I'm understanding this wrong please feel free to correct me.  

https://www.amazon.co.uk/gp/product/1617291080/ref=pd_cp_14_1/253-3973667-4487749?ie=UTF8&psc=1&...

Mini magick20151026 9709 9ef0ma big
Mace
tfl

I'll update the sticky to point to this newer edition. 

Mini magick20151026 9709 9ef0ma big
Mace
tfl

mattmcnabb wrote:

FYI: Don Jones just released a free ebook entitled "Conversational PowerShell" which details how to go about learning PowerShell. This might be a good read for those getting started.

http://conversationalgeek.com/books/conversational-powershell

I have added this to the sticky post - thanks!
Mini magick20160323 9512 ocwolv big
Chipotle
Steven61

Great Post.  

If you like Podcasts, Jon Walz and Hal Rottenberg have been producing the PowerScripting Podcast since version one, both are Microsoft MVP's.  They have well over 300 episodes that cover all aspects of PowerShell from the basics thru DSC, Nano Server and many other PowerShell subjects.

They can be found at https://powershell.org/podcast/ as well as in the iTunes Store and the Windows Store.

Mini magick20151026 9709 9ef0ma big
Mace
tfl

Good idea - I'd not thought of adding the podcasts. However - I am not sure folks learn from a pod cast inititally. The idea of the sticky was for a new to PowerShell person. Or do you think there is value for a PowerShell newbie in the pod casts?

Mini magick20151026 1898 hles25 big
Pure Capsaicin
Martin9700

tfl wrote:

Good idea - I'd not thought of adding the podcasts. However - I am not sure folks learn from a pod cast inititally. The idea of the sticky was for a new to PowerShell person. Or do you think there is value for a PowerShell newbie in the pod casts?

Everyone learns differently.  I'd add them.
Mini magick20151026 9709 9ef0ma big
Mace
tfl

Done.

Mini magick20170825 15414 b8q2sh big
Pure Capsaicin
Little Green Man
New suggestion for a link: https://blogs.msdn.microsoft.com/daviddasneves/2017/08/06/how-to-become-a-powershell-pro-v2/ Lots of good info and it was recently updated.
Mini magick20170309 39008 9vpuee big
Cayenne
MR.Burnz

Thanks reading powershell in a month of lunches now. 

Mini magick20151026 9709 9ef0ma big
Mace
tfl

Little Green Man wrote:

New suggestion for a link: https://blogs.msdn.microsoft.com/daviddasneves/2017/08/06/how-to-become-a-powershell-pro-v2/ Lots of good info and it was recently updated.

This is a great post. It does duplicate a lot of what I've added in the stickly, so I won't add it as such. However, what I have done is to pull out some extra stuff that I have put into the sticky post. So thanks for the suggestion.

Mini magick20180213 8473 x2gf3w big
Jalapeno
award73

I think that knowing how to google effectively will help you teach yourself just about any skill online.

Mini magick20151026 9709 9ef0ma big
Mace
tfl

Google is a powerful tool for the IT Pro. But before you can Google effectively, you need to know what to google for.

On the downside, Google is not perfect. Searching today for stuff, I came across article after article that is old, out of date, related to an earlier version, or just plain wrong. And in a lot of cases, some of the results that are returned, while they may work, are hardly best practice. You have to know enough PowerShell to be able to validate the solution obtained and be able to adapt it to fit your need.

What I hope this sticky does is to help teach Spiceheads enough to make their Google searches a bit more fruitful (and less needed).



Mini magick20170825 15414 b8q2sh big
Pure Capsaicin
Little Green Man

tfl wrote:

Google is a powerful tool for the IT Pro. But before you can Google effectively, you need to know what to google for.

On the downside, Google is not perfect. Searching today for stuff, I came across article after article that is old, out of date, related to an earlier version, or just plain wrong. And in a lot of cases, some of the results that are returned, while they may work, are hardly best practice. You have to know enough PowerShell to be able to validate the solution obtained and be able to adapt it to fit your need.

What I hope this sticky does is to help teach Spiceheads enough to make their Google searches a bit more fruitful (and less needed).



Googling scripts also introduces other people's crap code and horrid formatting into your scripts too. Sure, the script might get the job done but if you pass it as your own, you look foolish.
Mini magick20180522 3113 gj2agm big
Habanero
Edwin_Eekelaers

Reading PowerShell tfm and getting help from the poweshell Jedi masters here is the way 😊. My book is really called "PowerShell TFM". Just try small things day by day and follow topics from others about PowerShell. My preferred topic poster is the OP from this post 🤫

Mini magick20180716 26296 kcgaiw big
Poblano
User Timed Out

This is wonderful, and prevented my next spiceworks question! I am glad someone addressed the 'GooFle it" conundrum, as not knowing what is good and what is not is a daunting task to the NOOB :)

Mini magick20161209 17521 1ug6e97 big
Cayenne
FrostWolf

Awesome article.  Thanks, dude.

Avatar user
Poblano
jrosatron

This is great. Going to bookmark this and make time to learn Powershell. Thanks for sharing.

Mini magick20161102 33298 136fbs3 big
Thai Pepper
troberts2

There is also the Microsoft Virtual Academy as well, with Powershell resources on there too for those who want to learn.

https://mva.microsoft.com

They have courses in basics, some for AD, Exchange, SQL, 365 and many more as well.