Add open-g-drive.ps1

This commit is contained in:
Markus 2021-12-07 22:50:15 +01:00
parent 8aef2ef324
commit 983e8dae97
2 changed files with 16 additions and 1 deletions

View File

@ -39,7 +39,7 @@ When finished say: "Close tab" or: "Computer, close [name] browser" to close the
`Computer, open` [name] `drive`
-------------------------------
Launches the File Explorer with the given drive - replace [name] by: `C:`, `D:`, `E:`, `F:`, or `M:`.
Launches the File Explorer with the given drive - replace [name] by: `C:`, `D:`, `E:`, `F:`, `G:`, or `M:`.
When finished say: "Computer, close file explorer" to close the File Explorer.

15
Scripts/open-g-drive.ps1 Normal file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Opens the G: drive folder
.DESCRIPTION
This script launches the File Explorer with the G: drive folder.
.EXAMPLE
PS> ./open-g-drive
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-file-explorer.ps1" "G:"
exit 0 # success