Mainly used to solve the problem of the "File On-Demand" feature not being able to enable or start.
C:\Users\Administrator\AppData\Local\Microsoft\OneDrive\onedrive.exe /reset
$ProfilePath = $env:HOMEPATH
remove-item -Path "$env:HOMEPATH\AppData\Local\OneDrive" -Recurse -ErrorAction Continue
remove-item -Path "$env:HOMEPATH\AppData\Local\Temp\*" -Recurse -ErrorAction Continue
remove-item -Path "$env:HOMEPATH\AppData\LocalLow\Temp\*" -Recurse -ErrorAction Continue
remove-item -Path "C:\Windows\Temp\*" -Recurse -ErrorAction Continue
Restart-Computer