Reddit Reddit reviews Learn Windows PowerShell in a Month of Lunches

We found 63 Reddit comments about Learn Windows PowerShell in a Month of Lunches. Here are the top ones, ranked by their Reddit score.

SharePoint Guides
Business Technology
Computers & Technology
Learn Windows PowerShell in a Month of Lunches
Manning Publications
Check price on Amazon

63 Reddit comments about Learn Windows PowerShell in a Month of Lunches:

u/sycnewtox · 62 pointsr/sysadmin

I wanted to add that if you're brand new to PowerShell then you should take a look at PowerShell in a Month of Lunches.

Also, take a look at /r/PowerShell. There are fantastic people in there, and they're incredibly knowledgeable.

u/fizzlefist · 61 pointsr/sysadmin
u/replicaJunction · 60 pointsr/PowerShell

The best way to learn anything depends on your learning style. Some people learn better by reading, some by watching videos, and some by doing. It's important to know how you learn effectively.

That said, my recommendation is to find a routine task you do regularly and figure out how to do it automatically with PowerShell. Do you archive old report files to a specific directory structure? Learn about Copy-Item. Do you manage Exchange, SCCM, O365, anything like that? They all have automation support with PowerShell. There are even community modules that support a lot of third-party products - for example, the JiraPS project allows you to manage JIRA items with PowerShell, including creating new issues, commenting on existing ones, and closing them out.

If you prefer reading, the book Learn PowerShell in a Month of Lunches is often recommended - but it's very important that you actually follow along with the exercises in the book. Type them and run them on a live computer whenever possible.

If you prefer videos, I suggest the Microsoft Virtual Academy series on PowerShell. These are a bit long, but they do a great job of teaching you both concepts and practical knowledge.

Hope that helps!

u/_mroloff · 27 pointsr/PowerShell

PowerShell in a Month of Lunches is kind of the defacto starter book.

From there, I would recommend diving into The PowerShell Scripting and Toolmaking Book.

Naturally, this sub is also an excellent resource. You could also join the PowerShell Slack, where tons of good discussions/examples can be found.

u/gdhhorn · 21 pointsr/sysadmin

Learn Powershell in a Month of Lunches

Also, SS64 has a great Index/reference of PS commands.

Another good thing to do is to start searching the web for "how do I $taskName in Powershell."

u/BitteringAgent · 17 pointsr/usefulscripts

I assume you're doing user support with exchange and not administrating the server. I learned about powershell a lot from getting an exchange server with a DAG that broke constantly thrown my way. I use powershell just about everyday as a windows admin. I recommend checking out /r/powershell.

On a day to day, I'm running powershell to lookup user information even if it's just basic stuff I can do in cmdline such as "net user %username% /domain" to find some info on their account without having to go into ADUC. I'll use it to connect to Exchange Online and take a look at mailboxes and assign permissions or set out of office messages if I get a ticket like that. I create longer scripts and modules that I run to create new users, remove access to terminated employees, and to cleanup AD, O365, FileShares, etc. I've also written scripts to pull data from websites and put them in an excel spreadsheet and such.

Let's say I get a ticket in asking for employee A to have access to employee B's calendar. They could do this on their own, but why try to teach them when I can just quickly do this (of course I'd teach them if this was a constant thing). I'd open up my powershell console on my computer and connect to Exchange Online (My on-premise server if I was in my old environment) and I take a look at their current settings. So first I connect to Exchange Online. I have a profile setup to where I can run a cmdlet I have created that does the below by just typing "Connect-EXonline" into powershell.

$credentials = Get-Credential -Credential "$($env:USERNAME)"
Write-Output "Getting the Exchange Online cmdlets"

$Session = New-PSSession -ConnectionUri <br /> -ConfigurationName Microsoft.Exchange -Credential $credentials
-Authentication Basic -AllowRedirection
Import-PSSession $Session

From here I will be connected to my Exchange Online EAC. Now I'll want to grab their calendar permissions so I'll run a Get-MailboxFolderPermission on a mailbox to see what permissions they have and then if the request isn't already happening I'll run

Set-MailboxFolderPermissions -Identity [email protected]:\calendar -user [email protected] -AccessRights Editor

Or whatever I so please. There, I'm done. So I did that in 3 quick lines rather than clicking all through some clunky GUI.

Want to learn powershell? I recommend starting with "PowerShell in A Month of Lunches"
. This is how I started learning. Also go to /r/powershell and see the types of questions and answers people are asking/giving. If you want to learn python or bash, I don't have as much help for you other than to start with if you don't know syntax already. Otherwise, find forums/subreddits for it.

Tl;DR: I recommend starting with "PowerShell in A Month of Lunches" if you are a windows admin and want to start learning PowerShell.

u/evetsleep · 13 pointsr/PowerShell

If you're fairly new, I think you should start something like Learn Windows PowerShell in a Month of Lunches. You'll find this recommendation everywhere and for good reason. I personally was an peer reviewer of the 3rd edition and read it page-for-page slowly and provided a lot of feedback. It's a good book to get started with.

After that then move into the advanced tool making books like Learn PowerShell Toolmaking in a Month of Lunches.

Of course this just help get you started. You'll need to get a lot of practice with realistic projects to become familiar with how to build tools. I would highly recommend becoming very familiar with Git. There are a TON of tutorials out there (both web pages and YouTube videos).

Honestly to become a good toolmaker you'll need a lot of practice, but in terms of material these are a good source to get you started. Be patient and try to find small projects that you can grab onto. I would also recommend Windows PowerShell in Action for a more under-the-hood kind of view of how things work.

u/ripplemon · 13 pointsr/PowerShell
u/DrDiamond6 · 10 pointsr/mcsa

First, you should have gotten a printout with bar graphs indicating which areas you were weak/strong in. Compare that to the exam objectives here: to decide which areas to focus.


If you haven't already, sign up for a free Azure trial and play around with InTune. Hands-on experience with it will go a long way on the test. Know how InTune can be used to manage Mobile devices, compliance vs configuration items, App Deployment methods, etc.


If you have a PC that can handle it, the Microsoft 365 Powered Lab Kit will set up a number of VMs on your machine for practice. It includes guided labs that will prep you for the exam (and your MCSE: Mobility). It can be found here:


Learn the basics of PowerShell if you haven't already. You don't need to know how to script, but a basic understanding of cmdlet syntax and some basic cmdlets will get you by. PowerShell in a Month of Lunches ( is highly recommended by others here, and I recommend the (free!) MVA videos on PowerShell with Jason Helmick and Jeffery Snover (the first one is here:


For books, I used Panek's guide (;qid=1538429066&amp;sr=8-5&amp;keywords=70-697+configuring+windows+devices). It is out of date now for InTune, but the rest of it should still be relevant.


Last, remember that you don't need to go deep into any of the tech covered - the test is hard because it is broad.


If you have specific areas you want materials for, let me know, and I'll post what I can find.


u/losthought · 8 pointsr/sysadmin

Learn Powershell In a Month of Lunches

Read this and you'll be on your way.

u/TurnItOff_OnAgain · 8 pointsr/sysadmin

Check out Powershell in a Month of Lunches

Great starter for getting into powershell

u/ASquareDozen · 7 pointsr/SCCM

I see that others have answered the question well. And I suspect that you will head down this path, but just in case you aren’t considering it - I highly recommend learning PowerShell. even just basic commands. It will open up so many opportunities for you to help make your life easier as an admin in general, not just SCCM. If you plan to do other things besides SCCM later in, having a good understanding of PowerShell will be a very marketable skill for you to have.

I highly recommend PowerShell in a Month of Lunches as a great book to get you started.

u/unix_heretic · 7 pointsr/sysadmin

Start here. There's also /r/Powershell, and numerous websites devoted to learning and writing PS scripts.

Set up some revision control to track changes in your scripts, and start by learning to run individual commands for basic tasks (e.g. password resets, user data changes). Then start thinking about annoying processes that you have to do on a regular basis. How would you automate those?

u/Zupheal · 7 pointsr/sysadmin
u/Bowkneeknee · 7 pointsr/sysadmin

If you are looking to learn PowerShell without burning out even harder then I would suggest a book called learn powershell in a month of lunches.

Each chapter takes ~45-60 minutes and it an easy enough read and not too technically dense that you need to focus hard to understand. The concepts start at the absolute basics and add another layer on each chapter.

I am half way through the book now and I know enough now to start building some basic/fundamental scripts.

u/jzetterman · 6 pointsr/PowerShell

The best PS book I've come across is Learn PowerShell in a Month of Lunches:;qid=1535785632&amp;sr=8-1&amp;keywords=powershell+month+of+lunches


Also, keep an eye out for the authors in blog posts as you're Googling. Don Jones and Jeff Hicks are both really active on as well as

u/Cyberhwk · 6 pointsr/ITCareerQuestions

I think the Powershell in a Month of Lunches series is considered pretty good.

u/markca · 6 pointsr/sysadmin

A fantastic book I used when I started was Learn Powershell in a Month of Lunches.

u/Raynefire · 4 pointsr/PowerShell

Learn Windows PowerShell in a month of lunches is a great start!

That walks you through some of the basics.

Once you feel comfortable using Get-Help and Get-Member, you should be able to slowly work through any problem that you want to solve, by reading documentation on each cmdlet via get-help and analyzing objects with get-member.

u/dotbat · 3 pointsr/sysadmin

I've heard good things about "Powershell in a month of lunches"

u/thatpaulbloke · 3 pointsr/sysadmin

There are two main resources that you will need in order to learn PowerShell; the first is PowerShell in a Month of Lunches (there's a newer version coming soon) and the second is access to people who know PowerShell and can help you, like /r/powershell for example.

u/xsdc · 3 pointsr/sysadmin

It's cliche, but Month of Lunches is great if you're looking for a book. Honestly my advice is to solve problems with powershell. Learn to lean heavily on "Get-Command" and "Get-Help". When someone comes to you with something you would normally use the gui for, just figure out how to powershell it (advice - avoid device drivers)

A key piece of Systems Administration is driving yourself. In many situations you are the bottleneck to other people accomplishing their project or to fixing an issue - this means you need to understand that everyone is going to tell you their thing is high priority because they can't do anything til you're done. As you grow, you'll figure out how to get out of that position (automating pieces is a major part of that) but right now, focus on communicating clearly and honestly. Learn to set expectations - that's more important then any technical skill you can focus on.

u/loveandbs · 3 pointsr/PowerShell

I really like the books /u/joerod suggested.


PowerShell in a Month of lunches

Learn PowerShell Toolmaking in a Month of Lunches

For the MVA PowerShell courses:

MVA PowerShell - A plethora of good resources

Good luck! PowerShell is incredibly helpful and fun in both work and every day life!

Edit: Other recommendations from my old self

u/StarkCommando · 3 pointsr/ITCareerQuestions

Pluralsight has some good videos for the MCSA Server 2012. If you sign up for Visual Studio Dev Essensials, you can get a free 3 months with Pluralsight.

I should add, if you're going for the MCSA cert, I've heard it's Powershell heavy. You can get started with Powershell with Learn Windows PowerShell in a Month of Lunches

u/j_86 · 3 pointsr/sysadmin

Learn Windows PowerShell in a Month of Lunches is a pretty popular one and has helped me

u/gaz2600 · 3 pointsr/PowerShell

I was like you no programming experience at all. I learned from these videos, I suggest you download them as MS is decommissioning this site soon.

  1. Getting Started with Microsoft PowerShell
  2. Using PowerShell for Active Directory

    and everyone will recommend reading Learn Windows PowerShell in a Month of Lunches although I'm not a big reader and have not gone through most of this book. The two video modules will give you a good start. This reddit has also helped ALOT.
u/almostdvs · 3 pointsr/sysadmin

First, read our Wiki. It is very thorough and answers a lot of these common questions such as

day to day? The Practice of System and Network Administration
And the topical reference books listed below.

Books to help in shaping a sysadmin? The above &amp;:
The Phoenix Project
Time Management for System Administrators

Topical Books I see mentioned often and have been very helpful to me:
Powershell in a month of lunches
Learn Python the hard way
Unix and Linux System Administration Handbook
Windows Server 2016: Inside Out

Group Policy
FreeBSD mastery:ZFS
Pro Puppet
SSH Mastery

On my docket:
FreeBSD Mastery: Advanced ZFS

Michael W. Lucas and Thomas Limoncelli are very good sysadmin writers, you can't go wrong with a topic they have chosen to write about.

Most of the *nix stuff assumes a baseline knowledge of how to use a unix-based system. I learned as I went but did pick up an old copy of Unix Visual Quickstart Guide not too long ago at a used books sale, which seems like a good starting place for someone overwhelmed with sitting at a terminal and being productive.
I notice I don't have any Virtualization books, perhaps someone else can fill in good books. Most of my knowledge regarding virtualization and network storage has been a mix of official docs, video training, and poking at it. Seems innate but it isn't.

u/admlshake · 3 pointsr/sysadmin

I think they just released an updated version of the book for v5...
Yup here it is

u/ObnoxiousJoe · 2 pointsr/PowerShell
u/DrakharD · 2 pointsr/PowerShell

Would I create new lines below that one for the other OUs?

No, absolutely not. :)

The line I wrote is all you need.I'll try to explain it line by line.


$data = Import-Csv -Delimiter "," -Path C:\temp\data.csv

This line will import csv data from path C:\temp\data.csv into variable $data and it will use , as delimiter.Run it on your data and then run just $data to check what is inside your new variable.

$OU = ($data | select OU -Unique).OU

This line will select only OU column from your csv data in variable $data and it will select only unique values, so if you have users that are in same OU it will not duplicate it.After you run it check what's inside your variable by call it $OU.


Now we come to foreach loop.

foreach ($item in $OU) { New-ADOrganizationalUnit -Name $item -Path "dc=contoso, dc=com" }

It does exactly what it say, for each item, value inside variable OU it will run following code

New-ADOrganizationalUnit -Name $item -Path "dc=contoso, dc=com"

So let pretend you have this inside your variable OU.$OU



If we were to ran this code:

foreach ($item in $OU) { Write-Host "test" }

This would be the result in my terminal

Since we have 5 items inside $OU and command Write-Host "test" will be ran 5 times.

Now if I were to ran this code:


foreach ($item in $OU) { Write-Host "$item" }

This would be the result in my terminal



It will take each item from OU and output it to terminal.


I hope that makes it clear for you why all you need is this one line.

New-ADOrganizationalUnit -Name $item -Path "dc=contoso, dc=com"


If you really want to learn powershell and not just finish you project I strongly suggest this book:

Learn Windows PowerShell in a Month of Lunches


It's great book, really accessible and written in such approachable way that I guarantee if you finish it, you will understand and know powershell basics. :)

If you are more video guy this is old but great video series that will explain powershell basics.Big plus it's Jeffrey Snover talking about powershell. Can't beat that with a baseball bat :)

u/Vhyrrimyr · 2 pointsr/sysadmin
u/CaffinatedSquirrel · 2 pointsr/sysadmin

Powershell is a favorite at my place of work and allows us to automate some pretty fun stuff.. if you get started scripting or have any questions feel free to P.M. me anytime.. as for resources for powershell: - PDF - Book;amp;list=PL6D474E721138865A - Video

Hope this helps.. :)

u/imwearingatowel · 2 pointsr/sysadmin

Not really fair to link to a PDF copy of the book. It's a fantastic book and worth purchasing and supporting the author.

It can be purchased on Amazon

u/rcas312 · 2 pointsr/sysadmin

Agreed. OP, you nee to take some time and learn powershell - you can certainly do all the tasks that you listed in your post, but again, you need to learn the basics. I suggest starting with this book. Best of luck.

u/ApprehensiveEdge6 · 2 pointsr/sysadmin

"how can I learn to script powershell without having the basics for syntaxes"

honestly, i think if you try going this route, you're going to wind up very frustrated. you really ought to start with the basics. you can't just jump straight to the "knowing" part -- have to go through the process of learning before you get there. crawl before you can walk, and all that.

i bought myself a copy of "Learn Powershell in a Month of Lunches" (amazon link: and i like it. many people here on /r/sysadmin recommend it, as well. i would start there to build a good foundation. one of the earliest things the book teaches you is how to use powershell's built-in help and how to read error messages and such, which will become extremely helpful when you do get to the point where you start writing scripts.

buy that book, and/or ask your supervisor to buy you a license to a training site like CBT Nuggets or PluralSight. some people prefer videos and narration over books, but find what works for you, and remember to start with the basics and move up from there.

u/Letmefixthatforyouyo · 2 pointsr/devops

The "Powershell in a month of lunchs" books from Don Jones are the de rigueur powershell books. Nothing compares to these. Consistent, indepth and clear writing with goals to work on and lots of examples.

u/northendtrooper · 2 pointsr/ITCareerQuestions
u/Parobolic · 1 pointr/mcsa

I agree with /u/brother_bean except I don't know if you can keep that pace up, it will probably take you longer due to the lack of experience.

Using Powershell is definitely the best way to learn it and I wouldn't be too stressed about it, following along with the videos from CBTNuggets or Pluralsight will give you what you need. If you feel like you need more there is a book a lot of people recommend.

My career advice is to not focus so much on passing the exam, the skills you learn along the way will end up being way more valuable. If you're seeking a job as a junior SysAdmin somewhere the certificate will get your foot in the door but speaking intelligently on the subject matter is what gets you the job. Make sure you're actually learning the material instead of memorizing to pass the test.

u/vally78 · 1 pointr/windows

Have you tried just jumping into power shell? power shell in a month of lunches is a great place to start.

u/Cruril · 1 pointr/PowerShell

&gt; Is there any prior knowledge needed and if so what?

No prior knowledge needed. Of course, if you have experience with other scripting languages and some core concepts (if statements, variables, etc), it certainly helps.

&gt; Just wondering if there is a best practice for newbies of powershell?

Try to think of something you want to do. It could be as simple as creating folders that have a unique name (like based off the date created), but the more you practice even mundane tasks in Powershell, the more you are going to learn about how it works and how to make it do what you want.

&gt; If anyone could recommend some resources to help me get started that would be greatly appreciated.

There is no shame in going onto Google and searching for Powershell scripts that others have made. If you do take this approach, I would recommend trying to break down and analyze what the script is doing with each command and line. Also, this book really helped me get my foot in the door (well worth the ~$36):

u/threadsoflucidity · 1 pointr/sysadmin

Some literary resources you should find helpful. When in doubt, track down the best in your field and find out what they are writing/doing (Good Luck!)

Learn Windows PowerShell in a Month of Lunches

Virtual Labs
Building Virtual Machine Labs: A Hands-On Guide

Microsoft Books:
(I am positive you can scrape some useful AD information from this collection)

u/tomkatt · 1 pointr/sysadmin

It completely depends on what you plan on supporting with it. If you're gonna learn Python, pick up bash and learn how Linux works. You won't see much use for Python in a Windows environment (unless you're a developer or doing BI or something, but this is sysadmin so I'm making the assumption).

If you're heavily invested in Windows environments, learn Powershell. It'll be your bread and butter.

For resources:

u/aberugg · 1 pointr/sysadmin - Get an old server from there if you can bring something like this home and run it occasionally. - Setup a domain, and all that stuff, to simulate roughly the layout of your work, all in VM's. - Use this and do the examples multiple times.

Within the 30-day mark you should know a good amount to get you started.

Download VSCode, use Powershell IDE, also get the preview version of powershell to stay ahead, find out how to do GUI's for powershell for end users, automate things where you have to enumerate and analyze large information, like folders and all their permissions to audit permissions overall. Make scripts that remove unnecessary win10 components via GPO to workstations. Etc...

u/--RedDawg-- · 1 pointr/sysadmin

No Problem, but if you are not already set in your ways, stop using cmd line or bat files. For most people it is a crutch, but for you it will almost be an intentional handicap. Use Powershell. Check out this book:;keywords=powershell+in+a+month+of+lunches&amp;qid=1563465625&amp;s=gateway&amp;sprefix=powershell%2Caps%2C190&amp;sr=8-1

u/smargh · 1 pointr/sysadmin

Learning Powershell is a requirement for the job. There are third party tools for this task, but you need to learn PS anyway. It's not difficult and won't take long to learn the basics.

u/BroAIDS · 0 pointsr/pcmasterrace

&gt;Like, how does Enter-PSSession even make sense?

If you want this stuff to make sense you have to learn how the syntax is laid out and the logic behind it. Once you get comfortable if you know some things you can start figuring out other things very easily but you have to put time in a book or classroom on Powershell.