Paste a copied Library ID once. Both outputs build themselves as you type.
Paste the ID copied from the library. Everything below builds itself from it.
Sets the library to sync on every assigned device, from the next policy refresh onward. Paste the result into "Configure team site libraries to sync automatically".
Force a SharePoint document library to sync to a user's PC immediately.
Add a Library ID above to generate.
Run it as the person who is signed in. OneDrive runs per-user, so an elevated or SYSTEM shell hands odopen:// to the wrong account and nothing syncs.
Copy goes to a normal PowerShell window on their machine. Launch fires it here, as whoever is signed into this browser.