Author : MD TAREQ HASSAN | Updated : 2022/02/08
Run Script in Current Folder
- Let’s say script is “
xyz.ps1
” - Open PowerShell Core in the current folder (in which “
xyz.ps1
” is located) - Command to run script:
./xyz
Import Script Using Dot Sourcing
. ./UtilityFunctions.ps1