7 C
Texas
Melhttp://www.osradar.com
Guru Unix /Linux and GNU supporter

How to install PowerShell 7 in Windows 10

Hi, how are you? Recently Microsoft announced the release of PowerShell 7.0 through the Generally Available (GA) method. In fact, PowerShell 7 is the most recent update to this terminal. It is well known that this app is compatible with Windows, Linux, and macOS. In addition, it allows you to optimize the work of structured data such as JSON, CSV, XML, REST API, and object models. PowerShell 7.0 is equipped with a command-line shell and an object-oriented scripting language. In addition, with a set of tools to work directly on scripts and cmdlets. On the other hand, PowerShell 7.0 has been developed as an LTS version. Consequently, it will offer compatibility in about 3 years from December 3, 2019. Well, in this post we’ll see how to install PowerShell 7.0 in Windows 10.

How to install PowerShell 7 Windows 10 with MSI file.

One of the ways to install this app is by downloading an MSI file. This type of file is similar to executables. Consequently, it is possible to install the applications through a graphical interface. With this intention, please refer to this link. Please select the version corresponding to the architecture of the pc.

Select the version corresponding to the architecture of the pc.
Select the version corresponding to the architecture of the pc.

Once you have downloaded the file, please install it in a regular way.

How to install PowerShell 7 Windows 10 with CMD

Now, Microsoft has developed a script that can be invoked from PowerShell to execute the installation. With this intention, press the Win+X combination to launch the PowerShell with administrator privileges.

Open a PowerShell as an administrator.
Open a PowerShell as an administrator.
- Advertisement -

Once there, please type the following text.

 iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI" 
Run the script in a PowerShell with administrator privileges.
Run the script in a PowerShell with administrator privileges.

After pressing Enter, the download of the MSI will start. Once the download is complete, the installation wizard will start. Please press Next to continue the process.

Press Next to start the installation wizard.
Press Next to start the installation wizard.

After choosing the destination directory, it is time to customize some installation options:

  • Add PowerShell to Path Environment Variable: This makes it possible to call PowerShell from any other shell or terminal.
  • Register Windows Event Logging Manifest: This option allows events to be logged from one PowerShell instance
  • Enable PowerShell Remoting: This option enables the ability to execute commands in PowerShell remotely.
  • Add ‘Open here’ Context Menus to Explorer.
Press Next to continue the installation
Press Next to continue the installation

After confirming the installation, please wait a few seconds while the installer completes the task. Finally, check the option to launch the PowerShell. Press finish seeing the new terminal in action.

New PowerShell 7.0
New PowerShell 7.0

From this point on, just press the Windows button to find the new PowerShell.

Conclusion

In the final analysis, we looked at how to install PowerShell 7.0 in Windows 10. In addition, the previous version will remain installed. So it’s possible to use both versions without problems. All right, I hope you enjoyed this post. Before I say goodbye, I invite you to check our tutorial on how to be a Windows Insider. See you soon!

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article