Is there a way to change PowerShell\'s default location?
How do you set PowerShell\'s default working directory?
This solution sets current working folder to location where script is located. Be sure to place at beginning of your script, or at least before you try to use command relying on location path.
Set-Location (Split-Path $MyInvocation.MyCommand.Path)