For additional guidance, check out our community articles detailing the process of migrating from your current platform to Carbonio CE.
For enterprise-level requirements and advanced features, consider checking out Zextras Carbonio – the all-in-one private digital workplace designed for digital sovereignty trusted by the public sector, telcos, and regulated industries.
In this article we are going to see how to manage Calendar Resources with CLI Commands using zmprov. As usual, for every command, we will show you the extendend and short form along with the syntax to be used.
Remember that all commands are intended to be executed logging in as Zimbra user, with the command: su - zimbra
Create Calendar Resource:
To create a Calendar Resource you need to use CreateCalendarResource (ccr) with the following syntax:
zmprov CreateCalendarResource {samplename@yourdomain} [attr1 value1 [attr2 value2...]]
Delete Calendar Resource:
To delete a Calendar Resource you need to use DeleteCalendarResource (dcr) with the following syntax:
zmprov DeleteCalendarResource {samplename@yourdomain|id}
Get Calendar Resource:
To get a Calendar Resource you need to use GetCalendarResource (gcr) with the following syntax:
zmprov GetCalendarResource {samplename@yourdomain|id}
Get All Calendar Resources:
To get all Calendar Resources you need to use GetAllCalendarResource (gacr) with the following syntax:
zmprov GetAllCalendarResource [-v] {yourdomain}
The -v attribute, stands for verbose. Verbose mode dumps full exception stack trace
Modify Calendar Resource:
To modify a Calendar Resource you need to use ModifyCalendarResource (mcr) with the following syntax:
zmprov ModifyCalendarResource {samplename@yourdomain|id} [attr1 value1 [attr2 value2...]]
Rename Calendar Resource:
To rename a Calendar Resource you need to use RenameCalendarResource (rcr) with the following syntax:
zmprov RenameCalendarResource {samplename@yourdomain|id} {newsamplename@yourdomain}
Search Calendar Resources:
To search Calendar Resources you need to use SearchCalendarResources (scr) with the following syntax:
zmprov SearchCalendarResources [-v] {yourdomain} [attr]