Add open-onedrive.ps1

This commit is contained in:
Markus Fleschutz 2021-08-17 20:39:53 +02:00
parent f8bbb5835d
commit 2c29ec284f
3 changed files with 18 additions and 0 deletions

View File

@ -150,6 +150,7 @@ open-calculator.ps1, starts the calculator program
open-email-client.ps1, starts the default email client
open-file-explorer.ps1, starts the Microsoft File Explorer
open-netflix.ps1, starts the Netflix app
open-onedrive.ps1, opens the user's OneDrive folder
open-recycle-bin.ps1, starts the File Explorer with the recycle bin folder
play-beep.ps1, plays a beep sound
play-files.ps1, plays the given audio files

Can't render this file because it has a wrong number of fields in line 81.

View File

@ -96,6 +96,7 @@ Mega Collection of PowerShell Scripts
* [open-email-client.ps1](Scripts/open-browser.ps1) - starts the default email client
* [open-file-explorer.ps1](Scripts/open-file-explorer.ps1) - starts the File Explorer
* [open-netflix.ps1](Scripts/open-netflix.ps1) - starts the Netflix app
* [open-onedrive.ps1](Scripts/open-onedrive.ps1) - opens the user's OneDrive folder
* [open-recycle-bin.ps1](Scripts/open-recycle-bin.ps1) - starts the File Explorer with the recycle bin folder
* [set-wallpaper.ps1](Scripts/set-wallpaper.ps1) - sets the given image as wallpaper
* [take-screenshot.ps1](Scripts/take-screenshot.ps1) - takes a single screenshot

16
Scripts/open-onedrive.ps1 Executable file
View File

@ -0,0 +1,16 @@
<#
.SYNOPSIS
open-onedrive.ps1
.DESCRIPTION
Opens the user's OneDrive folder
.EXAMPLE
PS> .\open-onedrive.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
Start-Process "$UserProfile\AppData\Local\Microsoft\OneDrive\OneDrive.exe"
exit 0