Skip to content

Get-AviObjectsByName for pool object only returns first server in pool #305

@dalpert-incomm

Description

@dalpert-incomm

Running these commands (creds assumed):

$AviPool = Get-AviObjectByName -AviSession $AviSession -ObjectType pool -Name 1-TEST-POOL

foreach ($Server in $AviPool.servers) {
Write-Host $Server.ip
}

When multiple exist, only returns :
@{addr=10.20.30.41; type=V4}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions