mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-17 16:11:22 +02:00
Added go-scripts.ps1
This commit is contained in:
15
Scripts/go-scripts.ps1
Executable file
15
Scripts/go-scripts.ps1
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/powershell
|
||||
<#
|
||||
.SYNTAX ./go-scripts.ps1
|
||||
.DESCRIPTION go to the PowerShell Scripts folder
|
||||
.LINK https://github.com/fleschutz/PowerShell
|
||||
.NOTES Author: Markus Fleschutz / License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
set-location $PSScriptRoot
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
Reference in New Issue
Block a user