Skip to main content

UserEntitlementV2

Properties

NameTypeDescriptionNotes
SourceIdStringThe source ID of the entitlement.[optional]
EntitlementIdStringThe ID of the entitlement.[optional]
DisplayNameStringThe display name of the entitlement.[optional]
SourceUserEntitlementV2Source[optional]

Examples

  • Prepare the resource
$UserEntitlementV2 = Initialize-UserEntitlementV2  -SourceId 5898b7c1-620c-49c6-cccc-cbf81eb4bddd `
-EntitlementId 6d28b7c1-620c-49c6-b6d5-cbf81eb4b5fa `
-DisplayName Entitlement Name `
-Source null
  • Convert the resource to JSON
$UserEntitlementV2 | ConvertTo-JSON

[Back to top]