pabloramos
Enthusiast
Enthusiast

MS Active Directory plug-in - createComputer method

Jump to solution

I am looking to run the MS AD plug-in 1.0.4 to create a computer object in a OU. The workflow "Create a computer in an Organizational unit" works fine, but I need to set the ManagedBy field to a specific AD group. When the workflow runs now out of the box, the ManagedBy property is not set. Has anybody figured out a way to populate properties using Orchestrator? I was able to run a PowerShell cmdlet below to set the property, but can't figure out how to run from VOrch. set-adcomputer Pablo -ManagedBy "CN=xxx.windows.xxx,CN=Users,DC=us,DC=pablo,DC=com"

0 Kudos
1 Solution

Accepted Solutions
yeayu
Enthusiast
Enthusiast

Hi Pablo,

Have you checked the MS AD plugin documentation?

VMware vCenter Orchestrator Plug-In Documentation Center

There are some attributes and functions part of the AD_Computer class that might help you.

Regards,

View solution in original post

0 Kudos
2 Replies
yeayu
Enthusiast
Enthusiast

Hi Pablo,

Have you checked the MS AD plugin documentation?

VMware vCenter Orchestrator Plug-In Documentation Center

There are some attributes and functions part of the AD_Computer class that might help you.

Regards,

View solution in original post

0 Kudos
pabloramos
Enthusiast
Enthusiast

I was on the hot trail as I got your post. I was able to set the ad property: newComputer.setAttribute("managedBy",strmanagedBy);

0 Kudos