How to get the SPN of any server
And how to know the Service needed name
Setspn
First, open the active directory administrative center
Choose the computer you want to assign the SPN
Now choose the trust this computer for delegation then use any authentication protocol
Note:
we are not going to use the construction
PowershellÂ
you can just type
setspn -l <computername>