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:
parent
d2012b1ee3
commit
1126411769
15
Scripts/open-microsoft-solitaire.ps1
Normal file
15
Scripts/open-microsoft-solitaire.ps1
Normal 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
20
Scripts/open-skype.ps1
Normal 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
|
||||
}
|
@ -11,5 +11,5 @@
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
Start-Process spotify.exe
|
||||
Start-Process spotify:
|
||||
exit 0 # success
|
||||
|
15
Scripts/open-windows-defender.ps1
Normal file
15
Scripts/open-windows-defender.ps1
Normal 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
15
Scripts/open-xing.ps1
Normal 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
|
Loading…
Reference in New Issue
Block a user