Forum Discussion

John_Dodo's avatar
John_Dodo
Brass Contributor
Dec 21, 2022

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...

Resources