Adding Folder to Uipath Orchestrator cloud through Powershell

Hi,
I am new to UiPath and powershell.
I am looking for automating the manual activity of adding folder and robot in UiPath orchestrator.

Can some one please help me on how we can achieve this.
Is there API available or is there any module available in powershell for UiPath to connect to orchestrator.
Any sample script will be very helpful.

Regards,
Anjali

one of many options: ORC Rest API

we can prototype e.g. with Swagger:

and also using other tools e.g. Postman

Also have a look at this option:

Is there any sample python script which invokes orchestrator api to do any action like create /delete robot in UiPath orchestrator cloud?