Skip to main content

MachineAccountCreateEntitlement

Properties​

NameTypeDescriptionNotes
IdStringID of the entitlement to request.[required]
CommentStringComment to include with the entitlement request.[optional]
StartDateSystem.DateTimeDate and time when access to the entitlement starts. Must be in the future and, when removeDate is also set, before removeDate.[optional]
RemoveDateSystem.DateTimeDate and time when access to the entitlement is removed. Must be in the future.[optional]

Examples​

  • Prepare the resource
$MachineAccountCreateEntitlement = Initialize-MachineAccountCreateEntitlement -Id 2c91808a7624751a01762f19d67c220e `
-Comment Needed to read the inventory share. `
-StartDate 2026-11-01T00:00Z `
-RemoveDate 2027-11-01T00:00Z
  • Convert the resource to JSON
$MachineAccountCreateEntitlement | ConvertTo-JSON

[Back to top]