Quantcast
Channel: VMware Communities : Popular Discussions - vCloud Director PowerCLI
Viewing all articles
Browse latest Browse all 13334

Obtain vApp expiration date

$
0
0

Hey All,

Im trying to get a vApps expiration date using PowerCLI. I can:

 

$FrankApp = Get-CIVApp -name "Frank"

 

$FrankApp.RuntimeLease

 

Days              : 30
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 0
Ticks             : 25920000000000
TotalDays         : 30
TotalHours        : 720
TotalMinutes      : 43200
TotalSeconds      : 2592000
TotalMilliseconds : 2592000000

 

This shows a timespan that does not show how much time is left, it only shows the entire lease time since the last time the vApp was renewed. I can't look at the creation time and do the math because we renew the leases on several vApps.

 

Is there a way to show the time that the vApp will actually expire?


Viewing all articles
Browse latest Browse all 13334

Trending Articles



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