VMware Cloud Community
Gaprofitt17
Enthusiast
Enthusiast

Powershell Core vs Powershell 7

Hi,

I recently switched to a mac.  Attempting to use Powershell Core and VScode versus what I used in the past, Powershell ISE.  I'm finding
a lot of my scripts are having issues.  I also am not crazy about VScode, even with the powershell extension.  Any suggestions?  I know I
can run my code on a Windows VM but was just wondering am I missing something?

1 Reply
LucD
Leadership
Leadership

Not sure what problems your scripts are encountering under PowerShell v7.

But feel free to share some of the errors you are seeing.

On the VSC, the PowerShell offers something that is called ISE Mode.
Have a look at How to replicate the ISE experience in Visual Studio Code
Perhaps that will help to make your experience less stressful.

Btw, PowerShell Core was a name Microsoft chose for PowerShell v6.
But with the recent arrival of PowerShell v7, that Core part has been dropped.
So, for now, we have PowerShell v5.1 (Windows only) and PowerShell v6 (or Core) and PowerShell v7.

The latter two can run cross-platform.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference