VMware Cloud Community
jvm2016
Hot Shot
Hot Shot
Jump to solution

powershell_core

Hi Luc,

just installed powershell core 6.2.0 on one of the test machine

pastedImage_0.png

i can see both old and core coexist and now iam planning to install powercli11.

can you tell me if core gives any enhancement to powercli commands ??

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

The biggest advantage imho of PowerShell Core is that it runs on more platforms than PowerShell 5.1.
This includes several Linux distriutions and MacOS.
Due to that fact, you can also run it in a non-Windows container.

There are, for the time being, a number of limitations, in the sense that not all PowerCLI cmdlets and  PowerCLI modules, are yet ported to PowerShell Core.

This is partially due to the fact that .Net Core doesn't provide all the API that are available in the Windows .Net libraries.


One of the most noteworthy are the CredentialStore cmdlets.

These are missing, for now, due to the fact that .Net Core doesn't not have the DPAPI methods.

On the PowerCLI Core documentation page, you can read up on the above in more detail.


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

View solution in original post

3 Replies
LucD
Leadership
Leadership
Jump to solution

The biggest advantage imho of PowerShell Core is that it runs on more platforms than PowerShell 5.1.
This includes several Linux distriutions and MacOS.
Due to that fact, you can also run it in a non-Windows container.

There are, for the time being, a number of limitations, in the sense that not all PowerCLI cmdlets and  PowerCLI modules, are yet ported to PowerShell Core.

This is partially due to the fact that .Net Core doesn't provide all the API that are available in the Windows .Net libraries.


One of the most noteworthy are the CredentialStore cmdlets.

These are missing, for now, due to the fact that .Net Core doesn't not have the DPAPI methods.

On the PowerCLI Core documentation page, you can read up on the above in more detail.


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

jvm2016
Hot Shot
Hot Shot
Jump to solution

TX iam going to check this .in short iam going to install power cli 11.will it work fine if we have both powershell 5.1 and core available.

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

Yes, on a recent Windows station they can co-exist.


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

Reply
0 Kudos