PowerShell/Scripts/open-one-drive.ps1
2021-11-03 20:33:39 +01:00

16 lines
362 B
PowerShell
Executable File

<#
.SYNOPSIS
Opens Microsoft's OneDrive
.DESCRIPTION
This script launches Microsoft OneDrive with the user's OneDrive folder.
.EXAMPLE
PS> ./open-one-drive
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
Start-Process "$($env:USERPROFILE)\AppData\Local\Microsoft\OneDrive\OneDrive.exe"
exit 0 # success