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

Re: Misaligned VMDK's Powercli Script Help

$
0
0

The Split function would do that. Something like this

$Details.Disk,$Details.Partition = $objItem.Name.Split(',')

You will need to add the property Disk to the $Details object.

The $ObjItem.Name is split at the comma, the first part goes to $Details.Disk, the 2nd part goes to $Details.Partition.

Let me know if that works for you.


Viewing all articles
Browse latest Browse all 197835

Trending Articles



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