5 Essential Tips for Maximizing Your Experience at Nutanix .NEXT for Bloggers
This is my first script using the Nutanix provided Powershell cmdlets. Everything has been pretty straight forward so far. But i'm having one problem, i think someone will probably know off hand. I'm building a report. In this report it should have next snapshot time for protection domain (Easy enough). But also last snapshot created time (haven't found it yet). Anyone will ing to assist? I'll show the two object types i'm building already in the script. Basically PD's and Cron schedules. code:$pd = Get-NTNXProtectionDomain | where {$_.Active -eq $True}#Showing basically how the loop is setupforeach($p in $pd){$e = (Get-NTNXProtectionDomainCronSchedule -PDName $p.Name).userStartTimeInUsecs#showing how my custom object is built$dpcust = @{ ProtectionDomain = $p.Name VMName = $p.vms.VMName -join "," NextSnapshot = $scheduledtime Usage = $convertUsage Schedule = $p.cronschedules.Type LocalRetention = $p.cronschedules.retentionpolicy.localmaxsnapshots -join ","
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.