You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same porblem when I build my solution using $PSScriptRoot this isn't working but when I debug it it's fully working
I guess something might be wrong when it's build into C#
Variabled $PSScriptRoot and $PSCommandPath are empty in all scripts that were converted to EXE.
Please provide alternatives to get these values.
$invocation.MyCommand.Path does not work either.
The text was updated successfully, but these errors were encountered: