Created
April 20, 2016 00:53
-
-
Save a5ync/0723ff17a61ced03b791931a6c29ebb1 to your computer and use it in GitHub Desktop.
Running script details - current path, name of the script (this)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## ScriptTest.ps1 | |
Write-Host "InvocationName:" $MyInvocation.InvocationName | |
Write-Host "Path:" $MyInvocation.MyCommand.Path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment