See Determine If I Am Connected to SQL Server using Kerberos Authentication for a PowerShell script near the bottom of the topic.
There was an error while loading. Please reload this page.