Replace tabs by spaces in meta header

This commit is contained in:
Markus Fleschutz 2021-03-22 20:10:18 +01:00
parent 5d372fc184
commit 6efc805a7d
156 changed files with 635 additions and 635 deletions

View File

@ -6,7 +6,7 @@
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0
#> #>
param([string]$Path = "", [string]$Password = "") param($Path = "", $Password = "")
function EncryptFile { function EncryptFile {
<# <#

View File

@ -1,7 +1,7 @@
#!/bin/powershell #!/bin/powershell
<# <#
.SYNTAX ./list-current-timezone.ps1 .SYNTAX ./list-current-timezone.ps1
.DESCRIPTION lists the current time zone details .DESCRIPTION lists the details of the current time zone
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0
#> #>

View File

@ -1,7 +1,7 @@
#!/bin/powershell #!/bin/powershell
<# <#
.SYNTAX ./list-drives.ps1 .SYNTAX ./list-drives.ps1
.DESCRIPTION lists all drives .DESCRIPTION lists all drives connected to the computer
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0
#> #>

View File

@ -7,7 +7,7 @@
#> #>
try { try {
Start-Process "mailto:markus@fleschutz.de" start-process "mailto:markus@fleschutz.de"
exit 0 exit 0
} catch { } catch {
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"

View File

@ -9,7 +9,7 @@
#Requires -RunAsAdministrator #Requires -RunAsAdministrator
try { try {
Stop-Computer stop-computer
exit 0 exit 0
} catch { } catch {
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"

View File

@ -9,7 +9,7 @@
#Requires -RunAsAdministrator #Requires -RunAsAdministrator
try { try {
Restart-Computer restart-computer
exit 0 exit 0
} catch { } catch {
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"

View File

@ -12,7 +12,7 @@ try {
copy-item "$PathToRepo/Scripts/my-profile.ps1" "$PathToProfile" -force copy-item "$PathToRepo/Scripts/my-profile.ps1" "$PathToProfile" -force
write-host -foregroundColor green "OK - updated profile 'CurrentUserCurrentHost', gets active on next login" write-host -foregroundColor green "OK - updated profile 'CurrentUserCurrentHost' (gets active on next login)"
exit 0 exit 0
} catch { } catch {
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"