I don't know why your command does not work because it looks right to me. You can use the following alternative:
New-VIProperty -Name _LOCALorSAN -ObjectType Datastore `
-Value {
param($ds)
$ds.ExtensionData.Info.Vmfs.Local
} -Force
I don't know why your command does not work because it looks right to me. You can use the following alternative:
New-VIProperty -Name _LOCALorSAN -ObjectType Datastore `
-Value {
param($ds)
$ds.ExtensionData.Info.Vmfs.Local
} -Force