I've put a download of the script here the script itself looks like eg to run the script you would use something like The following script is a function that take the OneDrive URL, Credentials for Office365 and path you want to download the file to and downloads the file. It uses the URI object to separate the host and relative URL which the CSOM requires and also the SharePointOnlineCredentials object to handle the Office365 SharePoint online authentication. This script is pretty simple it uses the SharePoint CSOM (Client side object Model) which it loads in the first line. The following script takes a OneDrive for business URL which would look like ![]() I thought I'd quickly share this script I came up with to download a file that was shared using One Drive for Business (which is SharePoint under the covers) with Powershell.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |