Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OneDrive Commands #44

Closed
Manuel-S opened this issue Dec 24, 2014 · 1 comment
Closed

OneDrive Commands #44

Manuel-S opened this issue Dec 24, 2014 · 1 comment

Comments

@Manuel-S
Copy link

Is it planned to add OneDrive Commands?
Things I would like to do is:
Move-OneDriveDirectory
Set-OneDriveOptions Enable/DisableMakeAllFilesAvailableOffline
And a way start a sync explicitly and be notified/continue when it finished (much like windows updates).

@mwrock
Copy link
Member

mwrock commented Dec 26, 2014

Not really. Sadly Enable/DisableMakeAllFilesAvailableOffline is going away in windows 10 (at least thats the news now which I hope changes).

This does not exactly address moving the onedrive directory but you may be interested in the Move-Library boxstarter command for "repointing" common Library directories. For example, I like to point my Documents directory to my onedrive directory:

Move-LibraryDirectory "Personal" "$env:UserProfile\onedrive\documents"

I also use sym links on other directories I want to sync. I'm not sure if OneDrive exposes a powershell (or rest) API for invoking and monitoring syncs but thats definitely something I would not bite off in boxstarter. I'd rather see that implemented as its own separate powershell module and then one could simply import and consume it in a boxstarter run.

@mwrock mwrock closed this as completed Dec 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants