Hi Luc,
i am trying to run get-datastore -relatedobject cluster1 .and got above error .
its for powercli5.1 and we will upgrade to 11 after sometimes .
That feature was added in 5.5.2 I'm afraid.
You could do it the old-fashioned way :smileygrin:
Get-VMHost | Get-Datastore
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
What kind of related object (VM, ESXi...) are you using?
And are you using the object or the name?
Not all current types of objects (11.4.0) were already available in 5.1R1
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
get-datastore -releatedobject clustername
clustername after relatedobject
That feature was added in 5.5.2 I'm afraid.
You could do it the old-fashioned way :smileygrin:
Get-VMHost | Get-Datastore
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
it has worked .thnaks.