File API Powershell examples
You can integrate with the File API using our Powershell examples.
Minimum requirement for the Powershell examples is Powershell 5.1.
You can download the Powershell examples in zip format from here.
Powershell Examples Usage
You will find information about how to use the examples in the Readme.md in the Download and Upload subfolders.
Getting Started with Examples
Download and unpack Powershell examples solution.
The extracted powershell folder contains 3 folders:
- Release-Notes
- download (example for downloading files from File API).
- upload (example for uploading files to File API)
You will find information about how to use the examples in the Readme.md in the Download and Upload subfolders.
The examples require custom parameters (like the tenantid you want to use, the business type you want to upload the files to…).
This required data is found in:
- config.xml: Contains the parameters that the Powershell script needs.
Please, fill the required data before running the examples.
NOTE: If you get errors when executing the examples, they are most likely caused by custom parameters that were not provided correctly.