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
For your conditionals, I would recommend making them more explicit. There are some situations where if($installed) is going to throw a false negative, whereas if ($null -ne $installed) will always evaluate against the specific intended condition.