Glam Prestige Journal

Bright entertainment trends with youth appeal.

I would like to use the test-path command in powershell. According to the official docs, this was introduced in Powershell version 6.1.

Unfortunately, I am running version 5.1 ion my Windows 10 machine. The official page for installing updating powershell does not list 6.1 as one of the possible updates.

Is it possible to update powershell to its latest version in my computer? I'm a bit surprised because I've periodically run the Windows 10 updates several times since I got this computer.

3

1 Answer

Is it possible to update powershell to its latest version in my computer?

PowerShell 5.1 and PowerShell (Core) 7.2 can only be concurrently installed. All past, present, and future PowerShell Core releases can be found on its GitHub page here. All you have to do is install it with the MSI file for the release you want.

I'm a bit surprised because I've periodically run the Windows 10 updates several times since I got this computer.

PowerShell Core is not yet a feature of any version of Windows and must be installed manually by the end user. The differences between PowerShell 5.1 and PowerShell Core are documented by Microsoft here

0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy