Skip to main content

Set report file path to script location in PowerShell


Below script is to set report file path to script location in PowerShell

$scriptBasePath = split-path $SCRIPT:MyInvocation.MyCommand.Path -parent
Set-Location $scriptBasePath

Comments