Attributes are quite useful. Especially if you want to describe which systems are production, which are the devs. Or if you want to divide by the deparment.
Whatever your needs are, you can create new attributes, edit them and then report them.
PowerCLI have two cmdlets, Set-Annotation, Get-Annotation to manage with system attributes.
Example:
get-vmhost esx1.test | get-vm | Get-Annotation -CustomAttribute "attribute" | Where-Object { $_.Value -eq "PRD" }
No Comments