Updated the open-*.ps1 scripts

This commit is contained in:
Markus Fleschutz
2025-07-09 15:09:20 +02:00
parent b3775f3b30
commit 6fa5a3557b
85 changed files with 234 additions and 66 deletions

View File

@ -15,6 +15,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
param([string]$URL = "", [string]$text = "") param([string]$URL = "", [string]$text = "")
try { try {

View File

@ -11,6 +11,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-file-explorer.ps1" "shell:AppsFolder" & "$PSScriptRoot/open-file-explorer.ps1" "shell:AppsFolder"
exit 0 # success exit 0 # success

View File

@ -11,6 +11,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
$TargetDir = resolve-path "$HOME/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" $TargetDir = resolve-path "$HOME/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup"
if (-not(test-path "$TargetDir" -pathType container)) { if (-not(test-path "$TargetDir" -pathType container)) {

View File

@ -11,6 +11,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
start-process bingmaps: start-process bingmaps:
exit 0 # success exit 0 # success

View File

@ -11,5 +11,7 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://www.booking.com" & "$PSScriptRoot/open-default-browser.ps1" "https://www.booking.com"
exit 0 # success exit 0 # success

View File

@ -11,5 +11,7 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-file-explorer.ps1" "C:" & "$PSScriptRoot/open-file-explorer.ps1" "C:"
exit 0 # success exit 0 # success

View File

@ -11,6 +11,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
Start-Process ms-calculator: Start-Process ms-calculator:
exit 0 # success exit 0 # success

View File

@ -13,6 +13,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
param([string]$URL = "http://www.fleschutz.de") param([string]$URL = "http://www.fleschutz.de")
try { try {

View File

@ -11,6 +11,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
Start-Process ms-clock: Start-Process ms-clock:
exit 0 # success exit 0 # success

View File

@ -11,6 +11,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
Start-Process ms-cortana2: Start-Process ms-cortana2:
exit 0 # success exit 0 # success

View File

@ -11,4 +11,6 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-file-explorer.ps1" "D:" & "$PSScriptRoot/open-file-explorer.ps1" "D:"

View File

@ -15,6 +15,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
param([int]$timeInterval = 120) # milliseconds param([int]$timeInterval = 120) # milliseconds
try { try {

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the Web browser with the DeepL Translator website. This PowerShell script launches the Web browser with the DeepL Translator website.
.EXAMPLE .EXAMPLE
PS> ./open-deep-l-translator PS> ./open-deep-l-translator.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://www.deepl.com/translator" & "$PSScriptRoot/open-default-browser.ps1" "https://www.deepl.com/translator"
exit 0 # success exit 0 # success

View File

@ -13,6 +13,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
param([string]$URL = "https://www.fleschutz.de") param([string]$URL = "https://www.fleschutz.de")
try { try {

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the File Explorer with the user's desktop folder. This PowerShell script launches the File Explorer with the user's desktop folder.
.EXAMPLE .EXAMPLE
PS> ./open-desktop-folder PS> ./open-desktop-folder.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
$TargetDir = resolve-path "$HOME/Desktop" $TargetDir = resolve-path "$HOME/Desktop"
if (-not(test-path "$TargetDir" -pathType container)) { if (-not(test-path "$TargetDir" -pathType container)) {

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the File Explorer with the user's documents folder. This PowerShell script launches the File Explorer with the user's documents folder.
.EXAMPLE .EXAMPLE
PS> ./open-documents-folder PS> ./open-documents-folder.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
$TargetDir = resolve-path "$HOME/Documents" $TargetDir = resolve-path "$HOME/Documents"
if (-not(test-path "$TargetDir" -pathType container)) { if (-not(test-path "$TargetDir" -pathType container)) {

View File

@ -11,6 +11,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
if ($IsLinux) { if ($IsLinux) {
$Path = Resolve-Path "$HOME/Downloads" $Path = Resolve-Path "$HOME/Downloads"

View File

@ -11,6 +11,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
$TargetDirs = resolve-path "$HOME/Dropbox*" $TargetDirs = resolve-path "$HOME/Dropbox*"
foreach($TargetDir in $TargetDirs) { foreach($TargetDir in $TargetDirs) {

View File

@ -11,5 +11,7 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://duckduckgo.com" & "$PSScriptRoot/open-default-browser.ps1" "https://duckduckgo.com"
exit 0 # success exit 0 # success

View File

@ -11,4 +11,6 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-file-explorer.ps1" "E:" & "$PSScriptRoot/open-file-explorer.ps1" "E:"

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the Microsoft Edge Web browser. This PowerShell script launches the Microsoft Edge Web browser.
.EXAMPLE .EXAMPLE
PS> ./open-edge PS> ./open-edge.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
Start-Process microsoft-edge:// Start-Process microsoft-edge://
exit 0 # success exit 0 # success

View File

@ -11,5 +11,7 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://e.ggtimer.com" & "$PSScriptRoot/open-default-browser.ps1" "https://e.ggtimer.com"
exit 0 # success exit 0 # success

View File

@ -11,6 +11,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
start-process "mailto:markus@fleschutz.de" start-process "mailto:markus@fleschutz.de"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the File Explorer with the F: drive folder. This PowerShell script launches the File Explorer with the F: drive folder.
.EXAMPLE .EXAMPLE
PS> ./open-f-drive PS> ./open-f-drive.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-file-explorer.ps1" "F:" & "$PSScriptRoot/open-file-explorer.ps1" "F:"
exit 0 # success exit 0 # success

View File

@ -13,6 +13,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
param([string]$Path = "") param([string]$Path = "")
try { try {

View File

@ -11,5 +11,7 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://freefireplaces.com" & "$PSScriptRoot/open-default-browser.ps1" "https://freefireplaces.com"
exit 0 # success exit 0 # success

View File

@ -13,7 +13,9 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
param([string]$URL = "http://www.fleschutz.de") #requires -version 5.1
param([string]$URL = "https://www.fleschutz.de")
try { try {
$App = Get-AppxPackage -Name Mozilla.FireFox $App = Get-AppxPackage -Name Mozilla.FireFox

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the Web browser with the FlightRadar24 website. This PowerShell script launches the Web browser with the FlightRadar24 website.
.EXAMPLE .EXAMPLE
PS> ./open-flight-radar PS> ./open-flight-radar.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://www.flightradar24.com" & "$PSScriptRoot/open-default-browser.ps1" "https://www.flightradar24.com"
exit 0 # success exit 0 # success

View File

@ -11,5 +11,7 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-file-explorer.ps1" "G:" & "$PSScriptRoot/open-file-explorer.ps1" "G:"
exit 0 # success exit 0 # success

View File

@ -11,6 +11,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
function TryToExec { param($Folder, $Binary) function TryToExec { param($Folder, $Binary)
if (test-path "$Folder/$Binary" -pathType leaf) { if (test-path "$Folder/$Binary" -pathType leaf) {
start-process "$Folder/$Binary" -WorkingDirectory "$Folder" start-process "$Folder/$Binary" -WorkingDirectory "$Folder"

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the Web browser with the Google Books website. This PowerShell script launches the Web browser with the Google Books website.
.EXAMPLE .EXAMPLE
PS> ./open-google-books PS> ./open-google-books.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://books.google.com" & "$PSScriptRoot/open-default-browser.ps1" "https://books.google.com"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the Web browser with the Google Calendar website. This PowerShell script launches the Web browser with the Google Calendar website.
.EXAMPLE .EXAMPLE
PS> ./open-google-calendar PS> ./open-google-calendar.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://calendar.google.com" & "$PSScriptRoot/open-default-browser.ps1" "https://calendar.google.com"
exit 0 # success exit 0 # success

View File

@ -11,5 +11,7 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://contacts.google.com" & "$PSScriptRoot/open-default-browser.ps1" "https://contacts.google.com"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the Web browser with the Google Docs website. This PowerShell script launches the Web browser with the Google Docs website.
.EXAMPLE .EXAMPLE
PS> ./open-google-docs PS> ./open-google-docs.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://docs.google.com" & "$PSScriptRoot/open-default-browser.ps1" "https://docs.google.com"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the Web browser with the Google Earth website. This PowerShell script launches the Web browser with the Google Earth website.
.EXAMPLE .EXAMPLE
PS> ./open-google-earth PS> ./open-google-earth.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://earth.google.com/web/" & "$PSScriptRoot/open-default-browser.ps1" "https://earth.google.com/web/"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the Web browser with the Google Mail website. This PowerShell script launches the Web browser with the Google Mail website.
.EXAMPLE .EXAMPLE
PS> ./open-google-mail PS> ./open-google-mail.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://mail.google.com" & "$PSScriptRoot/open-default-browser.ps1" "https://mail.google.com"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the Web browser with the Google Maps website. This PowerShell script launches the Web browser with the Google Maps website.
.EXAMPLE .EXAMPLE
PS> ./open-google-maps PS> ./open-google-maps.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps" & "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the Web browser with the Google News website. This PowerShell script launches the Web browser with the Google News website.
.EXAMPLE .EXAMPLE
PS> ./open-google-news PS> ./open-google-news.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://news.google.com" & "$PSScriptRoot/open-default-browser.ps1" "https://news.google.com"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the Web browser with the Google Photos website. This PowerShell script launches the Web browser with the Google Photos website.
.EXAMPLE .EXAMPLE
PS> ./open-google-photos PS> ./open-google-photos.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://photos.google.com" & "$PSScriptRoot/open-default-browser.ps1" "https://photos.google.com"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the Web browser with the Google Play website. This PowerShell script launches the Web browser with the Google Play website.
.EXAMPLE .EXAMPLE
PS> ./open-google-play PS> ./open-google-play.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://play.google.com/store" & "$PSScriptRoot/open-default-browser.ps1" "https://play.google.com/store"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the Web browser with the Google Search website. This PowerShell script launches the Web browser with the Google Search website.
.EXAMPLE .EXAMPLE
PS> ./open-google-search PS> ./open-google-search.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://google.com" & "$PSScriptRoot/open-default-browser.ps1" "https://google.com"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the Web browser with the Google Stadia website. This PowerShell script launches the Web browser with the Google Stadia website.
.EXAMPLE .EXAMPLE
PS> ./open-google-stadia PS> ./open-google-stadia.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://stadia.google.com" & "$PSScriptRoot/open-default-browser.ps1" "https://stadia.google.com"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the Web browser with the Google Translate website. This PowerShell script launches the Web browser with the Google Translate website.
.EXAMPLE .EXAMPLE
PS> ./open-google-translate PS> ./open-google-translate.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://translate.google.com" & "$PSScriptRoot/open-default-browser.ps1" "https://translate.google.com"
exit 0 # success exit 0 # success

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This script launches the File Explorer with the user's home folder. This script launches the File Explorer with the user's home folder.
.EXAMPLE .EXAMPLE
PS> ./open-home-folder PS> ./open-home-folder.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
$TargetDir = resolve-path "$HOME" $TargetDir = resolve-path "$HOME"
if (-not(test-path "$TargetDir" -pathType container)) { if (-not(test-path "$TargetDir" -pathType container)) {

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with the Internet Archive website. This script launches the Web browser with the Internet Archive website.
.EXAMPLE .EXAMPLE
PS> ./open-internet-archive PS> ./open-internet-archive.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://archive.org" & "$PSScriptRoot/open-default-browser.ps1" "https://archive.org"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with the Jitsi Meet website. This script launches the Web browser with the Jitsi Meet website.
.EXAMPLE .EXAMPLE
PS> ./open-jitsi-meet PS> ./open-jitsi-meet.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://meet.jit.si/" & "$PSScriptRoot/open-default-browser.ps1" "https://meet.jit.si/"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the File Explorer with the M: drive folder. This script launches the File Explorer with the M: drive folder.
.EXAMPLE .EXAMPLE
PS> ./open-m-drive PS> ./open-m-drive.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-file-explorer.ps1" "M:" & "$PSScriptRoot/open-file-explorer.ps1" "M:"
exit 0 # success exit 0 # success

View File

@ -4,15 +4,17 @@
.DESCRIPTION .DESCRIPTION
This script launches the Windows Screen Magnifier application. This script launches the Windows Screen Magnifier application.
.EXAMPLE .EXAMPLE
PS> ./open-magnifier PS> ./open-magnifier.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
start-process magnify.exe Start-Process magnify.exe
exit 0 # success exit 0 # success
} catch { } catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This script launches the Microsoft Paint application. This script launches the Microsoft Paint application.
.EXAMPLE .EXAMPLE
PS> ./open-microsoft-paint PS> ./open-microsoft-paint.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
start-process mspaint.exe start-process mspaint.exe
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the Microsoft Solitaire application. This script launches the Microsoft Solitaire application.
.EXAMPLE .EXAMPLE
PS> ./open-microsoft-solitaire PS> ./open-microsoft-solitaire.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
Start-Process xboxliveapp-1297287741: Start-Process xboxliveapp-1297287741:
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the Microsoft Store application. This script launches the Microsoft Store application.
.EXAMPLE .EXAMPLE
PS> ./open-microsoft-store PS> ./open-microsoft-store.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
Start-Process ms-windows-store: Start-Process ms-windows-store:
exit 0 # success exit 0 # success

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This script launches the Microsoft Teams application. This script launches the Microsoft Teams application.
.EXAMPLE .EXAMPLE
PS> ./open-microsoft-teams PS> ./open-microsoft-teams.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
Start-Process msteams: Start-Process msteams:
exit 0 # success exit 0 # success

View File

@ -4,15 +4,17 @@
.DESCRIPTION .DESCRIPTION
This script launches the File Explorer with the user's music folder. This script launches the File Explorer with the user's music folder.
.EXAMPLE .EXAMPLE
PS> ./open-music-folder PS> ./open-music-folder.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
$TargetDir = resolve-path "$HOME/Music" $TargetDir = Resolve-Path "$HOME/Music"
if (-not(test-path "$TargetDir" -pathType container)) { if (-not(test-path "$TargetDir" -pathType container)) {
throw "Music folder at 📂$TargetDir doesn't exist (yet)" throw "Music folder at 📂$TargetDir doesn't exist (yet)"
} }

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the Netflix application. This script launches the Netflix application.
.EXAMPLE .EXAMPLE
PS> ./open-netflix PS> ./open-netflix.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
Start-Process netflix: Start-Process netflix:
exit 0 # success exit 0 # success

View File

@ -11,6 +11,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
Start-Process notepad.exe Start-Process notepad.exe
exit 0 # success exit 0 # success

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This script launches the OBS Studio application. This script launches the OBS Studio application.
.EXAMPLE .EXAMPLE
PS> ./open-obs-studio PS> ./open-obs-studio.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
function TryLaunching { param([string]$Path, [string]$Dir) function TryLaunching { param([string]$Path, [string]$Dir)
if (test-path "$Path" -pathType leaf) { if (test-path "$Path" -pathType leaf) {
start-process -FilePath "$Path" -WorkingDirectory "$Dir" start-process -FilePath "$Path" -WorkingDirectory "$Dir"

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with the Microsoft Office 365 website. This script launches the Web browser with the Microsoft Office 365 website.
.EXAMPLE .EXAMPLE
PS> ./open-office-365 PS> ./open-office-365.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://portal.office.com" & "$PSScriptRoot/open-default-browser.ps1" "https://portal.office.com"
exit 0 # success exit 0 # success

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This script launches the File Explorer with the user's OneDrive folder. This script launches the File Explorer with the user's OneDrive folder.
.EXAMPLE .EXAMPLE
PS> ./open-one-drive-folder PS> ./open-one-drive-folder.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
$TargetDirs = resolve-path "$HOME/OneDrive*" $TargetDirs = resolve-path "$HOME/OneDrive*"
foreach($TargetDir in $TargetDirs) { foreach($TargetDir in $TargetDirs) {

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This script launches the Microsoft Outlook email application. This script launches the Microsoft Outlook email application.
.EXAMPLE .EXAMPLE
PS> ./open-outlook PS> ./open-outlook.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
function TryToExec { param($Folder, $Binary) function TryToExec { param($Folder, $Binary)
if (test-path "$Folder/$Binary" -pathType leaf) { if (test-path "$Folder/$Binary" -pathType leaf) {
start-process "$Folder/$Binary" -WorkingDirectory "$Folder" start-process "$Folder/$Binary" -WorkingDirectory "$Folder"

View File

@ -4,15 +4,17 @@
.DESCRIPTION .DESCRIPTION
This script launches the Paint 3D application. This script launches the Paint 3D application.
.EXAMPLE .EXAMPLE
PS> ./open-paint-3d PS> ./open-paint-3d.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
start-process ms-paint: Start-Process ms-paint:
exit 0 # success exit 0 # success
} catch { } catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"

View File

@ -4,15 +4,17 @@
.DESCRIPTION .DESCRIPTION
This script launches the File Explorer with the user's pictures folder. This script launches the File Explorer with the user's pictures folder.
.EXAMPLE .EXAMPLE
PS> ./open-pictures-folder PS> ./open-pictures-folder.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
$TargetDir = resolve-path "$HOME/Pictures" $TargetDir = Resolve-Path "$HOME/Pictures"
if (-not(test-path "$TargetDir" -pathType container)) { if (-not(test-path "$TargetDir" -pathType container)) {
throw "Pictures folder at 📂$TargetDir doesn't exist (yet)" throw "Pictures folder at 📂$TargetDir doesn't exist (yet)"
} }

View File

@ -12,11 +12,13 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
param([string]$hostname = "") param([string]$hostname = "")
if ($hostname -eq "") { if ($hostname -eq "") {
& Start-Process "$env:windir\system32\mstsc.exe" & Start-Process "$env:WINDIR\system32\mstsc.exe"
} else { } else {
& Start-Process "$env:windir\system32\mstsc.exe" -ArgumentList "/v:$hostname" & Start-Process "$env:WINDIR\system32\mstsc.exe" -ArgumentList "/v:$hostname"
} }
exit 0 # success exit 0 # success

View File

@ -11,8 +11,10 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
start shell:recyclebinfolder Start shell:recyclebinfolder
exit 0 # success exit 0 # success
} catch { } catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"

View File

@ -4,15 +4,17 @@
.DESCRIPTION .DESCRIPTION
This script launches the Remote Desktop application. This script launches the Remote Desktop application.
.EXAMPLE .EXAMPLE
PS> ./open-remote-desktop PS> ./open-remote-desktop.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
start-process ms-rd: Start-Process ms-rd:
exit 0 # success exit 0 # success
} catch { } catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This script launches the File Explorer with the user's Git repositories folder. This script launches the File Explorer with the user's Git repositories folder.
.EXAMPLE .EXAMPLE
PS> ./open-repos-folder PS> ./open-repos-folder.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
$TargetDir = Resolve-Path "$HOME/Repos" $TargetDir = Resolve-Path "$HOME/Repos"
if (-not(Test-Path "$TargetDir" -pathType container)) { if (-not(Test-Path "$TargetDir" -pathType container)) {

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This script launches the Screen Clip application. This script launches the Screen Clip application.
.EXAMPLE .EXAMPLE
PS> ./open-screen-clip PS> ./open-screen-clip.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
Start-Process ms-screenclip: Start-Process ms-screenclip:
exit 0 # success exit 0 # success

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This script launches the Screen Sketch application. This script launches the Screen Sketch application.
.EXAMPLE .EXAMPLE
PS> ./open-screen-sketch PS> ./open-screen-sketch.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
Start-Process ms-screensketch: Start-Process ms-screensketch:
exit 0 # success exit 0 # success

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This script launches the Skype application. This script launches the Skype application.
.EXAMPLE .EXAMPLE
PS> ./open-skype PS> ./open-skype.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
Start-Process skype: Start-Process skype:
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the Snipping Tool application. This script launches the Snipping Tool application.
.EXAMPLE .EXAMPLE
PS> ./open-snipping-tool PS> ./open-snipping-tool.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
Start-Process SnippingTool.exe Start-Process SnippingTool.exe
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Cloudflare's speed test website. This script launches the Web browser with Cloudflare's speed test website.
.EXAMPLE .EXAMPLE
PS> ./open-speed-test PS> ./open-speed-test.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://speed.cloudflare.com" & "$PSScriptRoot/open-default-browser.ps1" "https://speed.cloudflare.com"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the Spotify application. This script launches the Spotify application.
.EXAMPLE .EXAMPLE
PS> ./open-spotify PS> ./open-spotify.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
Start-Process spotify: Start-Process spotify:
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with the Stack Overflow website. This script launches the Web browser with the Stack Overflow website.
.EXAMPLE .EXAMPLE
PS> ./open-stack-overflow PS> ./open-stack-overflow.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://stackoverflow.com" & "$PSScriptRoot/open-default-browser.ps1" "https://stackoverflow.com"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with the Startpage website. This script launches the Web browser with the Startpage website.
.EXAMPLE .EXAMPLE
PS> ./open-start-page PS> ./open-start-page.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://www.startpage.com" & "$PSScriptRoot/open-default-browser.ps1" "https://www.startpage.com"
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with the OpenStreetMap website. This script launches the Web browser with the OpenStreetMap website.
.EXAMPLE .EXAMPLE
PS> ./open-street-map PS> ./open-street-map.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
& "$PSScriptRoot/open-default-browser.ps1" "https://www.openstreetmap.org" & "$PSScriptRoot/open-default-browser.ps1" "https://www.openstreetmap.org"
exit 0 # success exit 0 # success

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This script launches the Windows Task Manager application. This script launches the Windows Task Manager application.
.EXAMPLE .EXAMPLE
PS> ./open-task-manager PS> ./open-task-manager.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
Start-Process taskmgr.exe Start-Process taskmgr.exe
exit 0 # success exit 0 # success

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This script launches the File Explorer showing the temporary folder. This script launches the File Explorer showing the temporary folder.
.EXAMPLE .EXAMPLE
PS> ./open-temporary-folder PS> ./open-temporary-folder.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
function GetTempDir { function GetTempDir {
if ("$env:TEMP" -ne "") { return "$env:TEMP" } if ("$env:TEMP" -ne "") { return "$env:TEMP" }
if ("$env:TMP" -ne "") { return "$env:TMP" } if ("$env:TMP" -ne "") { return "$env:TMP" }

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the 3D-Viewer application. This script launches the 3D-Viewer application.
.EXAMPLE .EXAMPLE
PS> ./open-three-d-viewer PS> ./open-three-d-viewer.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
Start-Process com.microsoft.3dviewer: Start-Process com.microsoft.3dviewer:
exit 0 # success exit 0 # success

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This script launches the Mozilla Thunderbird email application. This script launches the Mozilla Thunderbird email application.
.EXAMPLE .EXAMPLE
PS> ./open-thunderbird PS> ./open-thunderbird.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
function TryToExec { param($Folder, $Binary) function TryToExec { param($Folder, $Binary)
if (test-path "$Folder/$Binary" -pathType leaf) { if (test-path "$Folder/$Binary" -pathType leaf) {
start-process "$Folder/$Binary" -WorkingDirectory "$Folder" start-process "$Folder/$Binary" -WorkingDirectory "$Folder"

View File

@ -4,13 +4,15 @@
.DESCRIPTION .DESCRIPTION
This script launches the File Explorer with the user's videos folder. This script launches the File Explorer with the user's videos folder.
.EXAMPLE .EXAMPLE
PS> ./open-videos-folder PS> ./open-videos-folder.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
$TargetDir = Resolve-Path "$HOME/Videos" $TargetDir = Resolve-Path "$HOME/Videos"
if (-not(Test-Path "$TargetDir" -pathType container)) { if (-not(Test-Path "$TargetDir" -pathType container)) {

View File

@ -11,6 +11,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
function tryToLaunch { param($filePath) function tryToLaunch { param($filePath)
if (Test-Path "$filePath" -pathType leaf) { if (Test-Path "$filePath" -pathType leaf) {
Start-Process "$filePath" Start-Process "$filePath"

View File

@ -11,6 +11,8 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
try { try {
Start-Process explorer.exe shell:appsFolder\Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe!App Start-Process explorer.exe shell:appsFolder\Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe!App
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This PowerShell script launches the VPN settings of Windows. This PowerShell script launches the VPN settings of Windows.
.EXAMPLE .EXAMPLE
PS> ./open-vpn-settings PS> ./open-vpn-settings.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
Start-Process ms-settings:network-vpn Start-Process ms-settings:network-vpn
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the Windows Defender application. This script launches the Windows Defender application.
.EXAMPLE .EXAMPLE
PS> ./open-windows-defender PS> ./open-windows-defender.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
Start-Process windowsdefender: Start-Process windowsdefender:
exit 0 # success exit 0 # success

View File

@ -4,12 +4,14 @@
.DESCRIPTION .DESCRIPTION
This script launches the Windows Terminal application. This script launches the Windows Terminal application.
.EXAMPLE .EXAMPLE
PS> ./open-windows-terminal PS> ./open-windows-terminal.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#requires -version 5.1
Start-Process wt.exe Start-Process wt.exe
exit 0 # success exit 0 # success

View File

@ -4,7 +4,7 @@
.DESCRIPTION .DESCRIPTION
This script launches the XING application. This script launches the XING application.
.EXAMPLE .EXAMPLE
PS> ./open-xing PS> ./open-xing.ps1
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES