Skip to content

sharefile-org/ShareFile-PowerShell-Module

Repository files navigation

ShareFile PowerShell SDK

The ShareFile PowerShell SDK is a PowerShell module that provides support for saving a user login for use in scripts, provides access to the ShareFile API, and also a provider that can be used within PowerShell to map to a ShareFile account.
There are two modules provided; ShareFile and ShareFile-Core. The former is for PowerShell 5.X, while the latter is for PowerShell 7.X+.

NOTE: If looking for the older PowerShell snap-in, it can be found at https://github.com/sharefile-org/ShareFile-PowerShell.

Download
Download the latest release here
System Requirements
The PowerShell SDK requires either PowerShell 5.x and Net Framework 4.8+, or PowerShell 7.x+ and Net 8.0. In either case, the WebView2 runtime is also required.
Getting Started
Click here if you are just getting started for a list of common operations. We will walk you through your first time using the SDK using some basic operations.
Sample Scripts
Here you will find some example scripts that are commonly used by customers.
Scheduling Scripts
Found a great script that you want to run automatically on a regular basis? Check here for more information on how to schedule scripts.
Syncing Files
Coming from the SFCLI tool? This section contains details on how you can use the PowerShell SDK to do the same type of activities.
License
All code is licensed under the MIT License

To follow us on the ShareFile blog, check here: https://www.sharefile.com/blogs