Swimburger

PowerShell snippet: Get optionset value/labels from Dynamics CRM Entity/Attribute

Niels Swimberghe

Niels Swimberghe - - Dynamics

Follow me on Twitter, buy me a coffee

CRM and PowerShell logo

Instead of having to use the CRM interface to copy all the labels and values manually, you can save yourself a lot of time using this PowerShell script.
Using the following script file named "GetOptionSet.ps1", you can list all the value/label pairs for a given Entity + OptionSet-Attribute:

To use the script,

 

Related Posts

Related Posts