Skip to content

Fix all tables to be Objects #233

@DavidSeaton

Description

@DavidSeaton

🚀 Feature Request

Change all PowerShell outputs to be real Objects instead of tables.

Example or reference

I need to get all Agents based on HostOsType, Name, and HealthStatus.
Get-CohesityAgentStatus is a great commandlet to provide just those fields.
Filtering is great.
Get-CohesityAgentStatus |ft hostostype, hostip, healthstatus|?{$.healthstatus -eq 'kUnHealthy' -and $.hostostype -eq 'kLinux'}

However, can't pipe the output to something like Unregister-CohesityProtectionSource

Get-CohesityPhysicalAgent is the other commandlet option, however it doesn't provide those basic attributes. Not allowing any kind of useful filtering.

I have run into similar problems with cohesity-powershell-module. affectedly hampering the ability to get things done or having to create gross and unnecessarily complicated workarounds.

BTW CohesityAgentStatus show agent unhealthy while CohesityPhysicalAgent show agent healthy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogWe have looked at an issue and are prioritizing this in our backlog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions