cohesity / cohesity-powershell-module

This repository provides a PowerShell Module for Cohesity DataPlatform. https://cohesity.github.io/cohesity-powershell-module
Apache License 2.0
42 stars 16 forks source link

Add switch to output in object (default to status quo) #237

Open tehfonz opened 12 months ago

tehfonz commented 12 months ago

and returning Data as Object for better filtering and manipulation

pyashish commented 12 months ago

@tehfonz This will break scripts for existing users who expect it in TF , can we add a flag ?

tehfonz commented 12 months ago

I can add a flag/switch. Assume you would prefer the output as it currently is to be the default. What would be your preference for the switch param? Unformatted? Untabled? Happy for other suggestions. Cheers!

pyashish commented 12 months ago

Correct, we did this to maintain parity with our C# based cmdlet.

-ReturnObject:true

@KavishreeShanmugam11 , we could add this to other cmdlets.