Quantcast
Viewing all articles
Browse latest Browse all 197835

Re: Misaligned VMDK's Powercli Script Help

Im not that familiar with the split command, but I did add

 

 

$Details = "" | Select-Object VMName, Disk, Partition, Offset, Status, VMDKPath

 

to the 3 different areas of the script.

 

Do I need to add the line below to all the 3 $Details fields below that too? Or just one?

 

 

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

 

I've added all 3 to the "if, else, and catch" details section but Im thinking thats wrong....


Viewing all articles
Browse latest Browse all 197835

Trending Articles