I have directory structure that looks like this:
C:\\TFS\\MasterScript\\Script1.ps1 C:\\TFS\\ChildScript\\Script2.ps1
What i want to do is
The new Method for this is $PSScriptRoot
$PSScriptRoot
Import-Module $PSScriptRoot\Script1.ps1
Nice little one liner.