Home Windows 10 Install PowerShell 7.1 In Windows 10 – New Release

Install PowerShell 7.1 In Windows 10 – New Release

by Hassan Mujtaba
Windows PowerShell 7.1

PowerShell 7.1 was released on 11th November 2020. Now you can  download and install PowerShell 7.1 on all platforms, Such as Windows 10, Windows 8.1, Windows 7, Linux and MacOS

It is the automation engine for Windows. It is based on the .net framework common Language Runtime. This program is designed to facilitate computer administrators. It initiates the complex and time-consuming tasks that will if done manually and help them solve easily. Now you can download PowerShell 7.1 for Windows from here.

It contributes to sysadmins the intelligence to automate numerous tasks crosswise programs. As it enables admins to complete grant to COM and WMI. Both local and remote systems can be managed with PowerShell.

What’ New in PowerShell 7.1?

For PowerShell 7.1, we decided to build on the foundation established in PowerShell 7.0 with a strong focus on community issues, especially where we could make additive changes and quality-of-life improvements without introducing instability or breaking changes. As a platform with over 115 million sessions per month, we’re absolutely committed to ensuring that PowerShell remains a stable and performant platform, even after significant version upgrades like 7.1.

For more details about what’s been added and fixed, make sure to check out the PowerShell 7.1 release notes.

Download PowerShell 7.1

For Windows 10, Windows 8.1 and Windows 7

PowerShell-7.1.0-win-x64.msi [95 MB]

PowerShell-7.1.0-win-x86.msi [85.8 MB]

For MacOS

powershell-7.1.0-osx-x64.pkg

For Linux

CentOS

powershell-7.1.0-1.centos.8.x86_64.rpm

Debian

powershell_7.1.0-1.debian.11_amd64.deb

powershell_7.1.0-1.debian.10_amd64.deb

Ubuntu

powershell_7.1.0-1.ubuntu.20.04_amd64.deb

powershell_7.1.0-1.ubuntu.18.04_amd64.deb

For more download options, please check out this download page

Operating Systems and Platforms

  • Debian 9/10
  • CentOS and RHEL 7/8
  • Fedora 30
  • Alpine 3.11+ (including ARM64)
  • macOS 10.13+Windows 8.1/10 (including ARM64)
  • Windows Server 2012 R2, 2016, 2019, and Semi-Annual Channel (SAC)
  • Ubuntu 16.04/18.04/20.04 (including ARM64)
  • Ubuntu 19.10 (via Snap package)

Users who use the Linux

  • Arch Linux
  • Raspbian Linux
  • Kali Linux

Using Command Line

iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI -Quiet"

The above command line is used to install PowerShell 7.1 automatically. This will install the PowerShell 7.1 with default options.

How to use PowerShell 7.1 in Windows

By default, you may be restrained from operating custom PowerShell single function commands also known as cmdlets. You will have to change the execution policy. Follow these simple steps to do so.

  • Run the PowerShell on a Windows computer as an administrator.
  • Run the following commands.
    • Get-ExecutionPolicy
    • Set-execution policy unrestricted
  • Enter Y in the prompt
  • Get-ExecutionPolicy

Off Topic

PowerShell has around 200 cmdlets, most commonly used Commands on Windows PowerShell are

  • Set-Location: Current directory
  • Move-item: Moves file to a new location
  • Get-Location: Current directory
  • New-item: Creates a new file
  • Copy-item: Copies file to new Location
  • Rename: Renames existing file

You can give specific instructions to the cmdlets using the following:

  • What if: The cmdlet will show what it will do if executed, without running.
  • Confirm: The cmdlet will confirm before executing
  • Verbose: Increased detail.
  • Debug: The cmdlet will display debugging information.
  • ErrorAction: Determines what to do when an error occurs and has four actions: continue, stop, silently- continue, and inquire.
  • ErrorVariable: Determines which variable will hold error information.
  • OutVariable: Determines which variable will hold output information.
  • OutBuffer: the cmdlet will not call the next cmdlet until it holds a certain preset number of objects.

You may also like

Leave a Comment