Introduction

Gal Normal

Hey, I want to get started with PowerShell on my Windows computer. How can I set it up?

Geek Curious

Great choice! PowerShell is already installed on most Windows systems, but let's check the version and update it if needed.

Gal Happy

Sounds good! Show me the way, please!

Geek Smiling

Sure thing! Let's get started.

Step 1: Checking PowerShell Version

Gal Eager

How can I check the version of PowerShell installed on my computer?

Geek Nodding

Open PowerShell and type the following command:

$PSVersionTable.PSVersion
Gal Wondering

And this will show me the version number?

Geek Happy

Exactly! The output will display the major, minor, build, and revision numbers of your installed PowerShell version.

Step 2: Updating PowerShell

Gal Determined

Alright, let's say I need to update PowerShell. How do I do that?

Geek Thinking

If you're using Windows 10 or later, you can update PowerShell through the Microsoft Store. For earlier versions, you'll need to download it manually.

Gal Ready

Got it! Let's update from the Microsoft Store!

  1. Open the Microsoft Store app.
  2. Search for PowerShell.
  3. Click on “Windows PowerShell” or “PowerShell 7” (whichever is available).
  4. Click the Install or Update button.
Gal Laughing

Easy peasy, lemon squeezy! 🍋

Geek Amused

You got it! Enjoy your updated PowerShell!

Conclusion

You’ve now learned how to check your PowerShell version and update it on your Windows computer. With the latest version of PowerShell, you can take full advantage of its powerful features and capabilities. Keep learning and happy scripting! 😄