question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve experience for side-by-side versions of PowerShell

See original GitHub issue

We can setup multiple PowerShell Core versions on a system side-by-side (on Windows side-by-side with Windows PowerShell). What about to enhance -Version to get better UX?

powershell -Version 5.1
powershell -Version 6.0.0
powershell -Version 6.0.0-Beta.4
powershell -Version UserDefault
powershell -Version SystemDefault

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
iSazonovcommented, Jun 21, 2019

@KirkMunro It is not easy for me to write large text (but a high quality) on non-native language. Feel free to pull the RFC. Many thanks!

(It seems I keep a branch with the enumerating version prototype since then #4836 😃 It was ported from VS Code(!) )

2reactions
SteveL-MSFTcommented, Jul 7, 2017

We would also need set-powershell and get-powershell cmdlets to set the default and enumerate installed versions. This should probably end up being an RFC.

cc @joeyaiello

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrating from Windows PowerShell 5.1 to PowerShell 7
PowerShell 7 works side-by-side with Windows PowerShell letting you easily test and compare between editions before deployment. Migration is ...
Read more >
Powershell showing two different version
Hi Everyone, I was using my local laptop to connect to domain controller with PowerShell through Enter-Pssesion. After connecting to it, When I...
Read more >
Differences between Windows PowerShell 5.1 and ...
This article summarizes the differences and breaking changes from Windows PowerShell 5.1 and the current version of PowerShell that is based ...
Read more >
Using Visual Studio Code for PowerShell Development
Choosing a version of PowerShell to use with the extension. With PowerShell installing side-by-side with Windows PowerShell, it's now possible ...
Read more >
PowerShellGet in PowerShell 7.4 Updates
We also plan to improve the experience of updating PowerShellGet/PSResourceGet in prior releases of Windows. We will update the PowerShellGet ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found