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

Re: Latency to be available to execute commands

$
0
0

Hi LucD,

Thank you very much for your time and Input. Sorry, for my late reply, I got caught with something else today.

 

I played with the variable yesterday night and the only way I managed to get something was basicaly exporting-csv and then importing again.

This way, I had access directly to the data and proceeded this way.

======================

$esxcli.storage.vmfs.snapshot.list() | Export-Csv c:\scripts\test.csv

$newlun = Import-Csv C:\Scripts\test.csv

$nopersist = $true

$volumeLabel = $null

$esxcli.storage.vmfs.snapshot.mount($nopersist,$volumeLabel,$newlun.VMFSUUID)

======================

Looks uggly to me but it does the job.

I remember playing with $newlun[0] but can't remember if I tried your suggested command.

Shall give it a try and let you know

 

Many many thanks.


Viewing all articles
Browse latest Browse all 226498

Trending Articles



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