Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 247559

Re: Help required with the viproperty cmdlet

$
0
0

Wow - thanks LucD

 

So how does one incorporate that into a new-viproperty cmdlet (as shown below)

 

New-VIProperty -ObjectType Datastore -Name _DSDiskNames_ -ValueFromExtensionProperty 'info.vmfs.extent.diskname' -Force

 

I am assuming it would use the the 'value' property but how would it look ???

 

New-VIProperty -ObjectType Datastore -Name _DSDiskNames_ -Value [string]::Join(','info.vmfs.extent.diskname') -Force

 

Am I close ?

 

munster


Viewing all articles
Browse latest Browse all 247559

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>