PowerShell/Scripts/open-onedrive-folder.ps1
2021-10-28 07:36:33 +02:00

16 lines
366 B
PowerShell
Executable File

<#
.SYNOPSIS
Opens the user's OneDrive folder
.DESCRIPTION
This script launches Microsoft OneDrive with the user's OneDrive folder.
.EXAMPLE
PS> ./open-onedrive
.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