Forum Discussion
John_Dodo
Dec 21, 2022Brass Contributor
Retrieve executed script information the best way
Hello, I have this piece of code at the begining of most of my script. $ScriptFolderPath = $PSSCRIPTROOT
$ScriptFolderName = (get-item $ScriptFolderPath ).Name
$BaseFolder = (get-item $Sc...
Dec 31, 2022
Did this help?