SharpeRAD / Cake.Powershell

Powershell addin for Cake
http://cakebuild.net
MIT License
83 stars 36 forks source link

PowershellSettings does not provide a way to specify AuthenticationMechanism #49

Closed ecoonradt closed 6 years ago

ecoonradt commented 6 years ago

The Issue

When using Cake.Powershell to run a script on a remote machine it can be useful to have the ability to specify the AuthenticationMechanism used when connecting to the remote machine. By default, Kerberos is used, which has some limitations. Specifically, scripts or processes invoked on the remote machine cannot use WMI. However, when the AuthenticationMechanism is set to Credssp this scenario works as desired.

Discovered using version 0.4.2.

I will submit a PR for this shortly.