Cayosoft Graph Module provides several core commands, which allow you to enumerate, create, update and delete any object or resource, accessible through Microsoft Graph API. For the full list of such resources, visit Microsoft Graph documentation.
Enumerates objects or resources with their properties, or returns properties of a single object. A filter can be applied to only return objects satisfying a certain condition. Related objects or resources can also be enumerated, following the relationship property. Also supports other query parameters, as described below.
Create a new object or new instance of a resource.
Update properties for an existing object or resource.
Delete an object or an instance of a resource.
Tip: There is a shorter alias for each command, which you can use to call the command: Get-CGraph is an alias to the Get-CGraphResource command. New-CGraph - an alias to New-CGraphResource. And so on.
Each command accepts the following common set of parameters:
Specifies the type of object or resource you want to address, like "users", "groups" and so on.
This parameter supports auto-discovery with TAB, so you can cycle through all available types by pressing TAB on the keyboard.
-Id <object identifier>
Specifies the object ID, or UPN, or other identifier supported by the system.
Specifies the parent object or resource for the target object, identified with -Id parameter.
Configures command to call beta endpoint, instead of v1.0. For details, see the Version section in the Use the API article in the Microsoft Graph documentation.
Please sign in to leave a comment.