Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in RPA by (5.3k points)

i am 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 the Uipath Output

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

1 Answer

0 votes
by (9.5k points)

I am not sure here, but maybe it's too many "(quotes) chars in name field? Try to change it to "Robot5" for example.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Jul 10, 2019 in RPA by noah kapoor (5.3k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...