Utility to Mount OneDrive For Business As a Disk - Office365
Works also in ADSF integrated environments, without asking user/password
Usage:
Cookie365 -s URL [-prompt] [-u [email protected] | -d domain.com] [-p {password}] [-quiet] [-mount [disk] [-homedir]]
Mandatory
-s <sharepoint URL(example https://yourdomain-my.sharepoint.com)
Optional:
-prompt: prompts user to input username and password in console
-u : if you are not using ADFS you can specify a username with the format [email protected]
-p : if you are not using ADFS you need to specify your password
-d : if you are using ADFS but your internal domain is different from Office365 domain you can specify a different Office365 domain with the format domain.com
-quiet: be quiet...
-mount: if you specify a disk name (e.g. z:) it will be used, otherwise the OS will assign the first available disk. Optionally you can specify the -homedir option in order to mount the drive with the path for the specific OneDrive For Business user (\DavWWWRoot\personal<user>)