VMware Cloud Community
nsomani
Contributor
Contributor

How do we automate the Updates section under vsan tab for cluster via powercli?

How do we automate the Updates section under vsan tab for cluster via powercli?

Reply
0 Kudos
25 Replies
nsomani
Contributor
Contributor

Yes, I am using powershell core.

I have installed powershell on mac and running commands from it.

Here is the output of  $PSVersionTable:

Name                           Value

----                           -----

PSVersion                      6.1.1

PSEdition                      Core

GitCommitId                    6.1.1

OS                             Darwin 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64

Platform                       Unix

PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}

PSRemotingProtocolVersion      2.3

SerializationVersion           1.1.0.1

WSManStackVersion              3.0

Reply
0 Kudos
nsomani
Contributor
Contributor

I am not able to find powershell 5.1 installation link anywhere on the internet.

All the links point to edition above 6.0.

Reply
0 Kudos
LucD
Leadership
Leadership

For a MacOS platform that is correct.
For a Windows platform you use Windows Management Framework 5.1


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

Reply
0 Kudos
nsomani
Contributor
Contributor

Currently I don't have any windows platform available.

Is there any other way to make the command work on mac?

Reply
0 Kudos
LucD
Leadership
Leadership

I'm not even sure it is a MacOS issue at all.

Just wanted to make sure of that by checking if the cmdlet runs from a Windows platform.

I'll hear around if there are known issue with the VSAN cmdlets in PS Core on MacOS


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

Reply
0 Kudos
nsomani
Contributor
Contributor

Okay, thanks! Please let me know if you come across any!

Reply
0 Kudos