mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-11 21:59:11 +02:00
Changed to lowercase
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#!/snap/bin/powershell
|
||||
<#
|
||||
.SYNTAX ./write-logbook.ps1 [<text>]
|
||||
.DESCRIPTION writes the given text to the logbook (../Data/Logbook.csv)
|
||||
.DESCRIPTION writes the given text to the logbook (in ../Data/logbook.csv)
|
||||
.LINK https://github.com/fleschutz/PowerShell
|
||||
.NOTES Author: Markus Fleschutz / License: CC0
|
||||
#>
|
||||
@ -17,7 +17,7 @@ try {
|
||||
$Line = "$Time,$User,$Text"
|
||||
|
||||
$PathToRepo=(get-item $MyInvocation.MyCommand.Path).directory.parent
|
||||
write-output $Line >> "$PathToRepo/Data/Logbook.csv"
|
||||
write-output $Line >> "$PathToRepo/Data/logbook.csv"
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "ERROR in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Reference in New Issue
Block a user