It is recommended to have the following command somewhere in the beginning of the powershell script file:
cd /d $PSScriptRoot
The presence of this will run all the commands after it with respect to the location of the running powershell script file.
Extremely Serious
It is recommended to have the following command somewhere in the beginning of the powershell script file:
cd /d $PSScriptRoot
The presence of this will run all the commands after it with respect to the location of the running powershell script file.
© 2025 Ron and Ella Wiki Page
Theme by Anders Noren — Up ↑
Leave a Reply