Update Get-PatchScore.ps1

Reduced the code block to one block