Get-ScriptDirectory to the Rescue | PowerShell

added by DotNetKicks
5/16/2019 8:39:22 PM

1 Kicks, 185 Views

The other day I was writing a script and decided that I wanted to break it into a couple of files and have the main script dot-source a library script in the same directory.