Closed TaniumGod123 closed 2 months ago
Fixed, turns out the Get-Command -Name gh -ErrorAction stuff returns an object instead of a boolean, so if you put it in a variable first to make sure its not null and then in an if statement it catches it correctly.
Kinda just reinstalls over and over again after running script, will do some work on verifying this shortly. should be an easy fix after a bit of research