Because I always forget this #PowerShell 💎
&(Get-Module ModuleName){$ModuleScopedVariable}
For reference, from @mikefrobbins https://mikefrobbins.com/2017/06/08/what-is-this-module-scope-in-powershell-that-you-speak-of/
Edited 359d ago