Answers for "get script location powershell"

1

powershell script path

# Powershel 3+
$PSScriptRoot

# Powershell 2-
$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition
Posted by: Guest on September-21-2020

Code answers related to "get script location powershell"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language