You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
馃殌 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.
The text was updated successfully, but these errors were encountered: