From ddec5bd465877ac470cfc779fb3c2b6e3aed606f Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 25 May 2020 19:21:40 +0000 Subject: [PATCH] Added a special header --- Scripts/crash_dumps.ps1 | 5 +++-- Scripts/init_git.ps1 | 1 + Scripts/password.ps1 | 2 ++ Scripts/passwords.ps1 | 2 ++ Scripts/poweroff.ps1 | 2 ++ Scripts/reboot.ps1 | 2 ++ Scripts/speak.ps1 | 2 ++ Scripts/test.ps1 | 2 ++ Scripts/translate.ps1 | 2 ++ Scripts/txt2wav.ps1 | 2 ++ Scripts/wakeup.ps1 | 2 ++ 11 files changed, 22 insertions(+), 2 deletions(-) mode change 100644 => 100755 Scripts/init_git.ps1 diff --git a/Scripts/crash_dumps.ps1 b/Scripts/crash_dumps.ps1 index 1a579bbc..ee1ce613 100755 --- a/Scripts/crash_dumps.ps1 +++ b/Scripts/crash_dumps.ps1 @@ -1,4 +1,5 @@ -################################################################## +#!/snap/bin/powershell +################################################################## # # # Written by: Ryan Waters # # # @@ -280,4 +281,4 @@ Else { write-host "You did not enter a valid option. Please re-run Get-Dump.ps1" start-sleep -s 5 -} \ No newline at end of file +} diff --git a/Scripts/init_git.ps1 b/Scripts/init_git.ps1 old mode 100644 new mode 100755 index 741c4fed..2b210798 --- a/Scripts/init_git.ps1 +++ b/Scripts/init_git.ps1 @@ -1,3 +1,4 @@ +#!/snap/bin/powershell # diff --git a/Scripts/password.ps1 b/Scripts/password.ps1 index 480eb3da..72a305e3 100755 --- a/Scripts/password.ps1 +++ b/Scripts/password.ps1 @@ -1,3 +1,5 @@ +#!/snap/bin/powershell +# # PowerShell Script to Create a New Password # ------------------------------------------ # Author: Markus Fleschutz diff --git a/Scripts/passwords.ps1 b/Scripts/passwords.ps1 index 2a411d8b..94789ecb 100755 --- a/Scripts/passwords.ps1 +++ b/Scripts/passwords.ps1 @@ -1,3 +1,5 @@ +#!/snap/bin/powershell +# # PowerShell Script to Create New Passwords # ----------------------------------------- # Author: Markus Fleschutz diff --git a/Scripts/poweroff.ps1 b/Scripts/poweroff.ps1 index 23dddb77..b9dddddb 100755 --- a/Scripts/poweroff.ps1 +++ b/Scripts/poweroff.ps1 @@ -1,3 +1,5 @@ +#!/snap/bin/powershell +# # PowerShell Script to Shutdown the Local Computer # ------------------------------------------------ # Author: Markus Fleschutz diff --git a/Scripts/reboot.ps1 b/Scripts/reboot.ps1 index 5a55ade9..bac8edb9 100755 --- a/Scripts/reboot.ps1 +++ b/Scripts/reboot.ps1 @@ -1,3 +1,5 @@ +#!/snap/bin/powershell +# # PowerShell Script to Reboot the Local Computer # ---------------------------------------------- # Author: Markus Fleschutz diff --git a/Scripts/speak.ps1 b/Scripts/speak.ps1 index c57f3c59..8005b447 100755 --- a/Scripts/speak.ps1 +++ b/Scripts/speak.ps1 @@ -1,3 +1,5 @@ +#!/snap/bin/powershell +# # PowerShell Script for Text-To-Speech (TTS) # ------------------------------------------ # Author: Markus Fleschutz diff --git a/Scripts/test.ps1 b/Scripts/test.ps1 index 1125bac6..50e528f5 100755 --- a/Scripts/test.ps1 +++ b/Scripts/test.ps1 @@ -1,3 +1,5 @@ +#!/snap/bin/powershell +# # PowerShell Script for Testing # ----------------------------- # Author: Markus Fleschutz diff --git a/Scripts/translate.ps1 b/Scripts/translate.ps1 index d9d40211..485db083 100755 --- a/Scripts/translate.ps1 +++ b/Scripts/translate.ps1 @@ -1,3 +1,5 @@ +#!/snap/bin/powershell +# # PowerShell Script for Translating Texts # --------------------------------------- # Author: Markus Fleschutz diff --git a/Scripts/txt2wav.ps1 b/Scripts/txt2wav.ps1 index 5e716156..f0999b1d 100755 --- a/Scripts/txt2wav.ps1 +++ b/Scripts/txt2wav.ps1 @@ -1,3 +1,5 @@ +#!/snap/bin/powershell +# # PowerShell Script to Convert Text to Audio WAV files # ---------------------------------------------------- # Author: Markus Fleschutz diff --git a/Scripts/wakeup.ps1 b/Scripts/wakeup.ps1 index 7858cc26..2b001163 100755 --- a/Scripts/wakeup.ps1 +++ b/Scripts/wakeup.ps1 @@ -1,3 +1,5 @@ +#!/snap/bin/powershell +# # PowerShell Script to Wake-up Other Computers # -------------------------------------------- # Author: Markus Fleschutz