1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-03-28 07:38:38 +01:00

Add some more scripts

This commit is contained in:
Markus Fleschutz 2021-11-12 21:58:14 +01:00
parent d2012b1ee3
commit 1126411769
5 changed files with 66 additions and 1 deletions

View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Launches Microsoft Solitaire
.DESCRIPTION
This script launches the Microsoft Solitaire application.
.EXAMPLE
PS> ./open-microsoft-solitaire
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
Start-Process xboxliveapp-1297287741:
exit 0 # success

20
Scripts/open-skype.ps1 Normal file
View File

@ -0,0 +1,20 @@
<#
.SYNOPSIS
Launches the Skype app
.DESCRIPTION
This script launches the Skype application.
.EXAMPLE
PS> ./open-skype
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
try {
start-process skype:
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
exit 1
}

View File

@ -11,5 +11,5 @@
https://github.com/fleschutz/PowerShell
#>
Start-Process spotify.exe
Start-Process spotify:
exit 0 # success

View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Launches Windows Defender
.DESCRIPTION
This script launches the Windows Defender application.
.EXAMPLE
PS> ./open-windows-defender
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
Start-Process windowsdefender:
exit 0 # success

15
Scripts/open-xing.ps1 Normal file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Launches the XING app
.DESCRIPTION
This script launches the XING application.
.EXAMPLE
PS> ./open-xing
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
Start-Process xing:
exit 0 # success