This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Created this a few years ago to upload large files to OneDrive Personal. | |
Uses BITSAdmin (this is deprecated) to set the bearer token in the header. | |
OneDrive API at the time did not support uploading large files. Script will | |
need to be updated to use https://dev.onedrive.com/items/upload_large_files.htm#create-an-upload-session | |
Tested on Windows 10, PowerShell 5.0.10240.16384. |
NewerOlder