Sample Exchange

 View Only

Sample vSAN Encryption Report 

Aug 16, 2017 01:08 PM

This script shows a basic enumeration of vSAN Encryption reporting using the Get-VsanView cmdlet.
 

It shows overall health as well as some detailed reporting.

 

Requires PowerCLI 6.5.1 (or higher) and vSAN 6.6 with Encryption enabled.

 

#Encryption
#vSAN
#VMwarePowerCLI
#PowerShell
#Apache2.0

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
ps1 file
Vsan-EncryptionReport.ps1   6 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Comments

Jan 15, 2019 09:26 PM

Jase, great script. Would be good if some of these commands were not exclusive to VSAN? KMS Healthy should be universal, not just limited to VSAN enabled clusters?

Feb 27, 2018 03:17 PM

HaridasV2,
I've seen both of those errors before, and they were resolved by a new Powershell session.

Jan 30, 2018 11:38 AM

Hi Jase,
I tried to run this script but i was not getting any output. I did below changes in script and it worked.
# If vSAN is enabled and it is Encrypted
#If($Cluster.vSanEnabled -And $EncryptedVsan.EncryptionEnabled){ <--- old line
If($Cluster.vSanEnabled ){ <--- new line
also I was getting error cluster object already deleted (line 51).... but just closing and starting new powershell window resolved that error.
Thanks,
Haridas

Related Entries and Links

No Related Resource entered.