Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Added -ValuesOnly option to Get-PnPLabel to return all properties #2710

Merged
merged 3 commits into from
Jun 8, 2020
Merged

Added -ValuesOnly option to Get-PnPLabel to return all properties #2710

merged 3 commits into from
Jun 8, 2020

Conversation

KoenZomers
Copy link
Collaborator

@KoenZomers KoenZomers commented Jun 5, 2020

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Requested in #2678

What is in this Pull Request ?

Added -ValuesOnly flag to Get-PnPLabel to allow return of more properties on the retention label set on a list or library and return it as properties instead of written text. Even though its way more intuitive to return it like this, the default when not specifying -ValuesOnly will still be to return the written text to allow for backwards compatibility.

The new working with and without the new -ValuesOnly parameter:
image

@KoenZomers KoenZomers removed their assignment Jun 5, 2020
@KoenZomers KoenZomers added the status:checked and ready for merge ✔ PR has been checked and is ready for merge label Jun 5, 2020
@erwinvanhunen erwinvanhunen merged commit 0f13075 into pnp:dev Jun 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:checked and ready for merge ✔ PR has been checked and is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants