title: remote powershell script executed by anonymous user
body: <p>We are running deployment scripts using pstrami.  Part of the deployment is to execute database migrations.  The migrations are using an connection string with Integrated Security.  </p>
  
  <p>When the script executes on the remote machine the migrations fail with a sql error saying Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'</p>
  
  <p>The person executing the script is a domain administrator.  Other deployments that we run execute the remote scripts with the user who started the process.</p>