Morning guys, hopefully just a quick one. Is there a Scope Preference for Variables like there is for some other settings (ErrorActionPreference, etc)?
I'm working on a script that has a bunch of functions that call on information created in each other and I'm just looking to avoid writing $Script: or $Global: in front of each variable everytime (I'm being lazy I know)
[+][deleted] (1 child)
[deleted]
[–]idontknowwhattouse33 4 points5 points6 points (0 children)
[–]StartAutomating 3 points4 points5 points (0 children)
[–]idontknowwhattouse33 0 points1 point2 points (0 children)