I have an encoding problem from the stdout of execute-command node.
From the execute-command node I run a powershell command that returns a list of users.
this cmd line : powershell "Get-ADUser -Filter {(enabled -eq $true) -and (givenName -ne 'null') -and (Surname -ne 'null')} -Properties * | Select SamAccountName, Enabled, GivenName, Surname, UserAccountControl, @{Name='lastLogon';Expression={[datetime]::FromFileTime($_.'lastLogon')}} | ConvertTo-Json"
I would have thought we would handle that but maybe we are doing some odd conversion step in the node. I know you said you ran it from the powershell terminal and all was good do you still get a good output if you swap to cmd then run the command?