Force Powershell to use Kerberos instead of NTLM

Hi Calin,

Welcome to the forums! In order to ensure that people can determine what is code and what is not, please go back and format your code using the </> button. This will make your code readable and easier to digest. Please also show any error messages you are getting along with putting all the code into the post so we can see what you are trying to do. I am including a link that will help you in getting your code formatted on the forums.

Guide for formatting code