Windows Server: Sample uses of SETSPN
SPN means "Service Principal Name". In Active Directory you can set an SPN with the command line tool SETSPN. Find below some usage examples which I use often:
setspn -Q http/www.mywebsite.com ==> Check if the SPN "http/www.mywebsite.com" exists
setspn -L MyServer ==> Show all SPNs for MyServer
setspn -X ==> Search for duplicate SPNs in the current domain
setspn -S http/www.mywebsite.com MyServer ==> Set the SPN for a specific Server object in AD. This also checks for duplicate Read more [...]