Get started with PowerShell on Microsoft Learn!

Published Dec 08 2020 09:28 PM 22.7K Views
Microsoft

Over the last couple of years, the use of PowerShell became more and more important. I remember running my first commands and building my first automation using Windows PowerShell back in 2006. Since then, PowerShell became one of my daily tools to build, deploy, manage IT environments. With the release of PowerShell version 6 and now PowerShell 7, PowerShell became cross-platform. This means you can now use it on even more systems like Linux and macOS. With PowerShell becoming more and more powerful (you see what I did here ;)), more people are asking me how they can get started with PowerShell. Luckily we just released a new module called "Introduction to PowerShell" on Microsoft Learn.

 

In this module, you will learn about the basics of PowerShell. This cross-platform command-line shell and scripting language is built for task automation and configuration management. You'll learn basics like what PowerShell is, what it's used for, and how to use it. 

After you have completed this module, you will be able to understand what PowerShell is and what you can use it for, explore different cmdlets, construct a sequence of cmdlets in a pipeline, and apply sound filtering and formatting principles to your commands. 

 

The Introduction to PowerShell module includes 9 units:

 

 

I hope this helps you get started with PowerShell! If you have any questions feel free to leave a comment!

 

8 Comments
%3CLINGO-SUB%20id%3D%22lingo-sub-1967472%22%20slang%3D%22en-US%22%3EGet%20started%20with%20PowerShell%20on%20Microsoft%20Learn!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1967472%22%20slang%3D%22en-US%22%3E%3CP%3EOver%20the%20last%20couple%20of%20years%2C%20the%20use%20of%20PowerShell%20became%20more%20and%20more%20important.%20I%20remember%20running%20my%20first%20commands%20and%20building%20my%20first%20automation%20using%20Windows%20PowerShell%20back%20in%202006.%20Since%20then%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fpowershell%2Fscripting%2Foverview%3FWT.mc_id%3Dmodinfra-10826-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EPowerShell%3C%2FA%3E%20became%20one%20of%20my%20daily%20tools%20to%20build%2C%20deploy%2C%20manage%20IT%20environments.%20With%20the%20release%20of%20%3CA%20href%3D%22https%3A%2F%2Fwww.thomasmaurer.ch%2F2019%2F03%2Fhow-to-install-and-update-powershell-6%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EPowerShell%20version%206%3C%2FA%3E%20and%20now%20%3CA%20href%3D%22https%3A%2F%2Fwww.thomasmaurer.ch%2F2019%2F07%2Fhow-to-install-and-update-powershell-7%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EPowerShell%207%3C%2FA%3E%2C%20PowerShell%20became%20cross-platform.%20This%20means%20you%20can%20now%20use%20it%20on%20even%20more%20systems%20like%20Linux%20and%20macOS.%20With%20PowerShell%20becoming%20more%20and%20more%20powerful%20(you%20see%20what%20I%20did%20here%20%3B))%2C%20more%20people%20are%20asking%20me%20how%20they%20can%20get%20started%20with%20PowerShell.%20Luckily%20we%20just%20released%20a%20new%20module%20called%20%22%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Flearn%2Fmodules%2Fintroduction-to-powershell%3FWT.mc_id%3Dmodinfra-10826-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EIntroduction%20to%20PowerShell%3C%2FA%3E%22%20on%20Microsoft%20Learn.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20this%20module%2C%20you%20will%20learn%26nbsp%3B%3CSPAN%3Eabout%20the%20basics%20of%20PowerShell.%20This%20cross-platform%20command-line%20shell%20and%20scripting%20language%20is%20built%20for%20task%20automation%20and%20configuration%20management.%20You'll%20learn%20basics%20like%20what%20PowerShell%20is%2C%20what%20it's%20used%20for%2C%20and%20how%20to%20use%20it.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAfter%20you%20have%20completed%20this%20module%2C%20you%20will%20be%20able%20to%20understand%20what%20PowerShell%20is%20and%20what%20you%20can%20use%20it%20for%2C%20explore%20different%20cmdlets%2C%20construct%20a%20sequence%20of%20cmdlets%20in%20a%20pipeline%2C%20and%20apply%20sound%20filtering%20and%20formatting%20principles%20to%20your%20commands.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20Introduction%20to%20PowerShell%20module%20includes%209%20units%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Flearn%2Fmodules%2Fintroduction-to-powershell%2F1-introduction%3FWT.mc_id%3Dmodinfra-10826-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EIntroduction%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Flearn%2Fmodules%2Fintroduction-to-powershell%2F2-what-is-powershell%3FWT.mc_id%3Dmodinfra-10826-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EWhat%20is%20PowerShell%3F%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Flearn%2Fmodules%2Fintroduction-to-powershell%2F3-exercise-powershell%3FWT.mc_id%3Dmodinfra-10826-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EExercise%20-%20Run%20your%20first%20PowerShell%20commands%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Flearn%2Fmodules%2Fintroduction-to-powershell%2F4-cmdlets%3FWT.mc_id%3Dmodinfra-10826-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EUse%20the%20core%20cmdlets%20to%20find%20and%20learn%20about%20cmdlets%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Flearn%2Fmodules%2Fintroduction-to-powershell%2F5-exercise-cmdlets%3FWT.mc_id%3Dmodinfra-10826-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EExercise%20-%20Use%20the%20core%20cmdlets%20to%20learn%20about%20the%20available%20commands%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Flearn%2Fmodules%2Fintroduction-to-powershell%2F6-pipe%3FWT.mc_id%3Dmodinfra-10826-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECreate%20powerful%20pipelines%20by%20connecting%20cmdlets%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Flearn%2Fmodules%2Fintroduction-to-powershell%2F7-exercise-pipe%3FWT.mc_id%3Dmodinfra-10826-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EExercise%20-%20Create%20a%20pipeline%20and%20format%20the%20response%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Flearn%2Fmodules%2Fintroduction-to-powershell%2F8-knowledge-check%3FWT.mc_id%3Dmodinfra-10826-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EKnowledge%20check%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Flearn%2Fmodules%2Fintroduction-to-powershell%2F9-summary%3FWT.mc_id%3Dmodinfra-10826-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESummary%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20hope%20this%20helps%20you%20get%20started%20with%20PowerShell!%20If%20you%20have%20any%20questions%20feel%20free%20to%20leave%20a%20comment!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1967472%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Get%20started%20with%20PowerShell%20on%20Microsoft%20Learn.jpg%22%20style%3D%22width%3A%20673px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F238699iCE7F8E384327ECAD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Get%20started%20with%20PowerShell%20on%20Microsoft%20Learn.jpg%22%20alt%3D%22Get%20started%20with%20PowerShell%20on%20Microsoft%20Learn.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDo%20you%20want%20to%20get%20started%20with%20PowerShell%3F%20Check%20out%20the%20new%26nbsp%3BIntroduction%20to%20PowerShell%20module%20on%20Microsoft%20Learn!%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1967472%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EThomas%20Maurer%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1975794%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20started%20with%20PowerShell%20on%20Microsoft%20Learn!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1975794%22%20slang%3D%22en-US%22%3E%3CP%3EGreat%20to%20see%20this%20material%20on%20Microsoft%20Learn!%20As%20the%20next%20step%2C%20I%20would%20love%20to%20see%20an%20exam%2Fcertification%20coming%20up%20for%20PowerShell.%20Is%20this%20on%20the%20Microsoft%20learning%2Ftraining%20roadmap%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1980562%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20started%20with%20PowerShell%20on%20Microsoft%20Learn!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1980562%22%20slang%3D%22en-US%22%3E%3CP%3ELooking%20forward%20for%20advanced%20courses%20on%20topic!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1984895%22%20slang%3D%22en-US%22%3ERE%3A%20Get%20started%20with%20PowerShell%20on%20Microsoft%20Learn!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1984895%22%20slang%3D%22en-US%22%3EMe%20too%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1984898%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20started%20with%20PowerShell%20on%20Microsoft%20Learn!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1984898%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F7925%22%20target%3D%22_blank%22%3E%40Harold%20van%20de%20Kamp%3C%2FA%3E%26nbsp%3BI%20will%20pass%20that%20feedback%20to%20the%20learning%20teams%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1984899%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20started%20with%20PowerShell%20on%20Microsoft%20Learn!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1984899%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F753756%22%20target%3D%22_blank%22%3E%40Xda4nic%3C%2FA%3E%26nbsp%3Bme%20too!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1987571%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20started%20with%20PowerShell%20on%20Microsoft%20Learn!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1987571%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20exactly%20what%20I%20needed!%20Gracias.%3C%2FP%3E%3CP%3EI've%20been%20wanting%20to%20automate%20several%20tasks%20on%20Endpoint%20Manager%20for%20a%20while%20now.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1995351%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20started%20with%20PowerShell%20on%20Microsoft%20Learn!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1995351%22%20slang%3D%22en-US%22%3E%3CP%3ELong-awaited%20finally%20arrived!%20Thank%20you%20for%20letting%20us%20know%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F278133%22%20target%3D%22_blank%22%3E%40thomasmaurer%3C%2FA%3E%26nbsp%3B!%3C%2FP%3E%3CP%3EAs%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F7925%22%20target%3D%22_blank%22%3E%40Harold%20van%20de%20Kamp%3C%2FA%3E%26nbsp%3Bsaid%2C%20would%20be%20nice%20to%20have%20an%20exam%2Fcertification%20for%20PowerShell.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2080823%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20started%20with%20PowerShell%20on%20Microsoft%20Learn!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2080823%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20represent%20part%20of%20the%20PowerShell%20community%20and%20I%20am%20going%20to%20add%20my%20two%20cents%20on%20this%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20recommend%20the%20following%20resources%3A%3C%2FP%3E%3CUL%3E%3CLI%3EPowerShell%20in%20a%20Month%20of%20Lunches%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.manning.com%2Fbooks%2Flearn-windows-powershell-in-a-month-of-lunches-third-edition%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.manning.com%2Fbooks%2Flearn-windows-powershell-in-a-month-of-lunches-third-edition%3C%2FA%3E.%3C%2FLI%3E%3CLI%3EPluralSight%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fwindows-powershell-essentials%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fwindows-powershell-essentials%3C%2FA%3E.%3C%2FLI%3E%3CLI%3EPSKoans%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fvexx32%2FPSKoans%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fvexx32%2FPSKoans%3C%2FA%3E.%3C%2FLI%3E%3CLI%3EPowerShell%20Conference%20Books%20Volumes%201%2C2%20%26amp%3B%203.%20%3CA%20href%3D%22https%3A%2F%2Fleanpub.com%2Fpsconfbook2%2C%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E(https%3A%2F%2Fleanpub.com%2Fpsconfbook2%2C%3C%2FA%3E%20%3CA%20href%3D%22https%3A%2F%2Fleanpub.com%2Fpowershell-conference-book%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fleanpub.com%2Fpowershell-conference-book%3C%2FA%3E%3CA%20href%3D%22https%3A%2F%2Fleanpub.com%2Fpowershell-conference-book%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%2C%3C%2FA%3E%20%3CA%20href%3D%22https%3A%2F%2Fleanpub.com%2Fpsconfbook3%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fleanpub.com%2Fpsconfbook3%3C%2FA%3E)%20Theses%20books%20serves%20as%20a%20'conference%20in%20a%20book'%2C%20and%20as%20a%20deep%20guide%20resource.%3C%2FLI%3E%3C%2FUL%3E%3CP%3EIf%20you%20are%20wanting%20to%20test%20your%20PowerShell%20skills%20for%20the%20time%20being%2C%20head%20over%20to%20pluralsight%20which%20has%20an%20excellent%20test%20that%20you%20can%20do%20for%20free%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.pluralsight.com%2Fproduct%2Fskill-iq%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fwindows-powershell-essentialshttps%3A%2F%2Fwww.pluralsight.com%2Fproduct%2Fskill-iq%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMoving%20forward%2C%20I%20am%20editor-in-chief%20for%20the%20new%20PowerShell%20book.%20This%20book%20will%20serve%20as%20a%20textbook%20resource%2F%20lesson%20material%20for%20uni's%2F%20employees%20to%20further%20develop%20skills%20and%20define%20best%20practices.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2277081%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20started%20with%20PowerShell%20on%20Microsoft%20Learn!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2277081%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F278133%22%20target%3D%22_blank%22%3E%40thomasmaurer%3C%2FA%3E%26nbsp%3B%20this%20is%20really%20cool%20content%20%3A)%2C%20thank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎Dec 10 2020 12:34 AM
Updated by:
We support Ukraine and condemn war. Push Russian government to act against war. Be brave, vocal and show your support to Ukraine. Follow the latest news HERE