How to run powershell v5.1 #89
Pinned
noobmaster1069
started this conversation in
General
Replies: 2 comments 2 replies
|
ive never seen powershell 7 be installed by default |
1 reply
|
Greetings. Great script. Thank you for the AI debloat. I ran into an issue the first time I ran this. My user ID and associated profile path each had an ebedded space. This script failed after the first few seconds by not being able to navigate the path. I renamed my user ID to eliminate the space and did the same with the profile path. Then the script ran fine. I just wanted to mention this in case you may want to update the script to allow for embedded spaces in user names and profile paths. Thanks for your time. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
For those that don't know, I didn't, "PowerShell" and "Windows PowerShell" are different,
"PowerShell" is currently V7 and not natively installed. So if you haven't installed it, it shouldn't be an issue. "Windows PowerShell" is V5.1. You can run Windows PowerShell by pressing Win + R, type powershell, and hitting Enter: Windows PowerShell 5.1 will start.
You can check what version is running by entering the following: $PSVersionTable.PSVersion
Major should be 5, Minor should be 1
I learned this here: https://www.reddit.com/r/PowerShell/comments/i4o4zx/downgrading_from_posh_70_to_51/
More info here: https://docs.microsoft.com/en-us/powershell/scripting/install/migrating-from-windows-powershell-51-to-powershell-7?view=powershell-7#using-powershell-7-side-by-side-with-windows-powershell-51
All reactions