Answers for "powershell print path variables"

1

powershell script path

# Powershel 3+
$PSScriptRoot

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

powershell print environment variables

#pws
$Env:path
Get-ChildItem env
Posted by: Guest on July-21-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language