vCD vApp Report

Here is a quick one liner for reporting on vCD vApps. This is useful for quickly auditing deployed vApps in vCD. I used the Search-Cloud cmdlet as its lighter and faster than Get-CIvApp. I’m sorting by created date and outputting Created date, vApp Name, Power state, and vApp Owner and outputting the results to a csv file

 

Search-Cloud -QueryType AdminVApp | Sort-Object -Property CreationDate | select CreationDate,Name,Status,OwnerName | Out-File C:\vCDAudit.csv