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.
🚀 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.