365tips.be

Blogs about: Microsoft Teams, backgrounds, Intune, OneDrive, Exchange, Azure AD, Windows 10, Security, Tenant, Exchange, best-practice, tips and & tricks

How to install and use PowerShell 7 - Administrator tools

It's not "really" upgrading if you come from Windows PowerShell 5.1 and upgrade to PowerShell 7. PowerShell 7 can be installed completely separate from Windows PowerShell on the same Windows system. This is a big advantage so you can stop using Powershell built-in. There are a few ways you PowerShell 7 can install. You can use the MSIs through the PowerShell GitHub release page or using Windows PowerShell.

What is PowerShell

Power shell is a task-based command line shell and scripting language that is based on .NET. Power shell helps system administrators and head users to quickly automate tasks that manage operating systems (Linux, macOS and Windows) and processes.

Power shell commands allow you to manage computers from the command line. Power shell providers allow you to access data archives, such as the REGI star and certificate archive, as easily as you access the file system. Power shell includes a comprehensive expression parser and a fully developed scripting language.

Power shell is open source

Power shell-base source code is now available on GitHub and open for community contributions. See Power shell source on github. You can start with the bits you need to get Power shell up andrunning. Or, perhaps, with a short around guide to get started.

What version do you have now?

You can check this via:

Get-Host | Select-Object Version
1

Install Powershell via Powershell

Run the following command in PS:

Invoke-Expression "& { $(Invoke-Restmethod https://aka.ms/install-powershell.ps1) } -UseMSI -Preview"
1
1
1
1
1

That's it!

  • Upgrading to PowerShell 7 on Windows is fairly easy using the MSI installer .
  • The important thing to know is that PowerShell 7, unlike Windows PowerShel, is a standalone package .
  • Don't immediately assume you have the latest version of PowerShell on a new Windows 10 machine.
  • You should always install the MSI package manually to get the latest and greatest features. OR with MEM.
1

About the author

Tagged: , , , ,
0 0 vote
Article review
Subscribe
Please let us know if there are
guest

0 Comments
Inline feedbacks
See all comments
0
Would love to know your thoughts, please leave a comment.x