Update EnumerateSoftware.ps1

Fixed small error in the code