#gets name and memory of certain vms
$DRReserved = Get-VM | where {$_.CustomProperty["DRReservation"] -like "True"} | select name, memory
Is there a way to get the sum or total memory of $DRReserved?
Thank you,
""
#gets name and memory of certain vms
$DRReserved = Get-VM | where {$_.CustomProperty["DRReservation"] -like "True"} | select name, memory
Is there a way to get the sum or total memory of $DRReserved?
Thank you,
""