Creating AD users trough Powershell

script
powershell
studio

#1

Hello All

Im trying to create AD users with Invoke Powershell activity.

Unfortunately i am stuck with a Parameter problem.

The parameter “Name” gives following error: “The Object name has bad syntax”

The funny thing is, if i run the same powershell command directly into powershell console, i get no error.
But when the robot runs it. i get parameter error.

See screenshots for clarification.

This is my parameters

This is the error box

This is output from the robot.
output

i really hope someone can crack this code, because i am pretty stuck here.

-Christian