dbatools icon indicating copy to clipboard operation
dbatools copied to clipboard

Add SQL 2022 to Test-DbaSpn.ps1

Open IIJohnnyRingoII opened this issue 3 years ago • 2 comments

Summarize Functionality

Add SQL 2022 to Test-DbaSpn.ps1

image

Is there a command that is similiar or close to what you are looking for?

Yes

Technical Details

No response

IIJohnnyRingoII avatar Feb 15 '23 17:02 IIJohnnyRingoII

Maintainer note: All of this needs to be removed from the module and replaced with the enum object in SMO.

wsmelton avatar Feb 15 '23 19:02 wsmelton

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. image

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

wsmelton avatar Feb 27 '23 20:02 wsmelton