https://rakhesh.com/powershell/scope-in-powershell/
Scope in PowerShell