Create Get-Rights

I was looking for a way to check if the current logged in user had "log
on as a service" right before and after an install as a part of testing.
I didn't find an existing cmdlet so I made this.