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

Re: Creating Perennially Reserved report outputs a single entry

$
0
0

You're overwriting your CSV each time, so you will only ever get the last result.

$esxcli.storage.core.device.list($RDMDisk.ScsiCanonicalName)| Select-Object Device, IsPerenniallyReserved | Export-Csv -NoTypeInformation -Path "C:\Users\cBurnett\SkyDrive\vSphere CLI Scripts\Set-RDMReservations\get-rdmreservations.csv"


Add the -Append switch and it should work I think.


Viewing all articles
Browse latest Browse all 231085

Trending Articles



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