dbatools
dbatools copied to clipboard
Add SQL 2022 to Test-DbaSpn.ps1
Summarize Functionality
Add SQL 2022 to Test-DbaSpn.ps1

Is there a command that is similiar or close to what you are looking for?
Yes
Technical Details
No response
Maintainer note: All of this needs to be removed from the module and replaced with the enum object in SMO.
Looking at this command I'm not sure why that version lookup/convert was ever added. Overall the focal point of this command is not the version detail. I've the string lookup completely.
I also found in Jess' blog post if you look at the SqlProduct property it is not even returning the value it should so the lookup itself in that script block does not work.

The fix should make it into the 2.0 release, but no ETA on when that will happen right now.