workaround for dealing with WinRM 3.0 and newer