Manage vSAN using Powercli

Powercli is a command line tool which based on Windows PowerShell. We can use it for automate our tasks. This article will show some of the valuable comnmads we can use to manage our vSAN infrastructure.

1. First will check what are the  available command in powercli relate to the vSAN

Syntax

Get-command *vsan*

image

2. We can check the health of vSAN cluster

Syntax

Get-Cluster|testVsanClusterHeath|fl

image

3. We can get the vSAN cluster configuration using below command

Get-VsanClusterConfiguraiton|fl

image

4. Using Get-VsanDiskGropu command we can get disk group details

image

5. To check the health of the objects we can use powercli

image

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: