Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix all tables to be Objects #233

Open
DavidSeaton opened this issue Sep 22, 2023 · 1 comment
Open

Fix all tables to be Objects #233

DavidSeaton opened this issue Sep 22, 2023 · 1 comment
Labels
backlog We have looked at an issue and are prioritizing this in our backlog

Comments

@DavidSeaton
Copy link

馃殌 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.

@KavishreeShanmugam11 KavishreeShanmugam11 added the backlog We have looked at an issue and are prioritizing this in our backlog label Oct 11, 2023
@KavishreeShanmugam11
Copy link
Contributor

ACK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We have looked at an issue and are prioritizing this in our backlog
Projects
None yet
Development

No branches or pull requests

2 participants