Closed jpalo closed 4 years ago
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Definitely makes sense @jpalo. Working on a fix for it.
Fixed. Will be released in the June 2020 release on next Tuesday June 9th, 2020. It will allow you to specify the -ValuesOnly
flag to have it return way more verbose information and as normal properties instead of written text.
Closing this issue. If it doesn't work for you in the June 2020 release, feel free to reopen.
Thank you for the flag.
I hope you depreciate the current verbose functionality in some future version, and remove the flag as this seems like a quick workaround that isn't a breaking change, but doesn't really fix the original cause.
@jpalo We always need to keep backwards compatibility as there may be people out there that have written scripts to parse the human readable text into the actual values. Those scripts would break if we throw in changes like this. I agree that the initial implementation should never have been done in the way it has been done, but we're stuck with it now. Please use the -ValuesOnly option to get the desired result.
Reporting an Issue or Missing Feature
Get-PnPLabel returns verbose text instead of label name and properties, see actual behavior.
Expected behavior
Only return values, no extra text.
Actual behavior
Steps to reproduce behavior
Get-PnPLabel -List "some list title"
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
3.18.2002.0
How did you install the PnP-PowerShell Cmdlets?