lElOUCHE_79
Enthusiast
Enthusiast

Get double Objects in vSAN

Hello

 

I'm getting the below error message when I run this command.

$Doubleobjects = Get-SpbmStoragePolicy | where { $_.AnyOfRuleSets.AllOfRules -like "*VSAN.hostFailuresToTolerate=1*"}
$Simpleobjects = Get-SpbmStoragePolicy | where { $_.Name -notin $doubleobjectpolicy.Name}

Get-SpbmStoragePolicy : 11/10/2023 17:13:16 Get-SpbmStoragePolicy com.vmware.vapi.std.errors.invalid_argument
{'messages': [com.vmware.vapi.std.localizable_message {'id': error.query.coreApiMismatch, 'default_message': Failed to
convert the QuerySpec to internal representation. Could not qualify property: 'id'. It is possible that the property
is misspelled or a connection to a certain Data Provider has failed. Please check the logs for other errors., 'args':
[], 'params': , 'localized':}], 'data': , 'error_type': INVALID_ARGUMENT}

 

Any idea?

 

Reply
0 Kudos
LucD
Leadership
Leadership

I suggest opening an SR.

Should GSS claim that you need SDK Support for PowerCLI issues, that is incorrect.
Point them to PowerCLI Support Breakdown


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

lElOUCHE_79
Enthusiast
Enthusiast

Thank you for your prompt reply :slightly_smiling_face: 

Reply
0 Kudos