Orchestrator how Automatic Add the computer to the specific ORGANIZATIONAL unit and edit the Description of the computer

Hello

We use VMware Orchestrator to clone sysprep VM templates, and join the virtual machine to the domain.

The problem is that we cannot find a function in Orchestrator to join VM to the specific ORGANIZATIONAL unit and edit the description of the computer.

Our workflow built sysprep on the fly so that we can not add a command in sysprep to join the specific ORGANIZATIONAL unit

Plugin installed:

  • VIX
  • Active Directory

Example workflow:workflow.png

Any ideas how to set up our requirements in the workflow

Hello

Over the past two months, I learned Orchestrator and built a large workflow highly customized for the automation of windows and linux deployments of models.  We are also in two different datacenters which each have their own ORGANIZATIONAL unit in AD.  The solution I use is "dsadd computer" (http://technet.microsoft.com/en-us/library/cc754539 (WS.10) .aspx) and then then I execute 'netdom' on Windows OS which adds the server to the domain and reboot.

I use sysprep for the IP configuration, etc., but don't not to join the server to the domain.  Once sysprep is finished I execute the following code to add the computer object to the specific ORGANIZATIONAL unit:

var cmdText = "cmd/c";
"var = cmdLine" dsadd computer------"" + att_AD_OUPath + "------"-desc------"" + arg_in_AD_ComputerDescription + "\" - u "+ att_domainUser + '-p' + att_domainPass;

order = new order (cmdText + cmdLine);
returnCode = command.execute (true);

If (returnCode == 0)
{
System.log ("computer" "+ arg_in_serverName +" has been added to the domain");
}
on the other
{
throw "error adding computer '" + arg_in_serverName + "' to the field."
System.Error ("error adding computer '" + arg_in_serverName + "' field.");
}

Installation program:

  • Standalone Orchestrator installed on Server 2008
  • Active Directory Domain Services role installed on the server Orchestrator

I hope this helps!

Post edited by: robrtb12

Tags: VMware

Similar Questions

  • How to add the blank page to existing Document in Adobe Dc

    How to add the blank page to existing Document in Adobe Dc Pro

    Hi thashrifs16749461,

    You can add a blank page using Adobe Acrobat DC by following the instructions below:-

    (1) open your PDF in Acrobat DC.

    (2) choose the form of option "Organize the Page" of the tool pane on the right as shown below in the screen shoot.

    (3) now, at the top, you will see all the tools to organize the page, click "Insert" & select 'White Page' in the drop down menu to insert blank pages.

    * Shortcut: If you are using a windows computer you can use the key "Shift + Ctrl + T" to insert blank pages.

    In case if you have any problem or have any questions please let us know. We will be happy to help you.

    Kind regards

    Nicos

  • How to add the checksum in a link online?

    Hello world.
    I have a small problem... I am building an app and all pages have the Access Protection Page = 'Arguments must have checksum.
    APEX automatically adds the checksum to the URLS in each BRANCH to point and generates a link.
    When I build a link within a procedure, I use APEX_UTIL. Function PREPARE_URL to add this checksum.
    But when I build a link online, I don't know how to add this checksum. Maybe it's just a java thing, but I'm new to javascript so I'm here guys ask for help.
    There are 2 situations where I use the links online:

    As a value of element that displays a link:
    href = "f? p = & APP_ID.:22: & SESSION. : & DEBUG. : P22_TABID:9 "> history

    And in a target URL that opens a pop-up window, some like this:
    JavaScript:popUp2('f?p=&APP_ID.:22:&session.::&Debug.::P22_TABID:9',500,400)

    How to add totals to control here?
    Thanks in advance
    Oscar

    Published by: user10712087 on 01/31/2009 14:29

    Published by: user10712087 on 01/31/2009 14:32

    Hello

    Just for you (and the other) know, the APEX_UTIL. Function PREPARE_URL, Scott has done you, adds a parameter - & cs = - f originally? p URL. When using JavaScript, as in your example, you must escape the ampersand (and other element values, that may contain special characters). You can learn more on this topic in here - http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_util.htm#CDEIBCJD.

    Kind regards
    Arie.

  • How to add the name of the title of graph in Excel

    Dear friends

    I'm using LabVIEW 8.0.I need how to add the name of the title of graph in Excel.

    You have the report generation tool? If so, the VI of graph Easy Excel has an entry for this.

    If you don't have the Toolbox, then you need to use ActiveX. Please do a search on the use of the ActiveX (there are examples provided with LabVIEW) to control Excel. Also, there are many examples in the thread Excel. NOTE: DON'T POST QUESTIONS IN THIS THREAD.

    In the end, you will need to search for information contained in MSDN.

  • How to add the full value of two buttons?

    How to add the full value of two buttons (any key) VI and display it in the output text box? I am attaching a sample program, but I know that his evil... Help, please

    Try this

  • How to add the quick launch of the desktop icon bar

    How to add the toolbar launch quick icon on the desktop. I can't find a desktop icon that will drag on

    The following Microsoft KB article

    http://support.Microsoft.com/kb/190355/en-us

    will help you.

    Good bye.

  • How to add the translation application to my email add FB?

    Original title: translation

    I need to know how to ADD the TRANSLATION software to my email add FB? Any help?

    Try here: https://www.facebook.com/help/100117036792266

    Translate the updated Facebook application on the road

  • How to add the Quazip library

    Hi, I want to try to use Quazip. Since I read, I have to add the library before use.

    I downloaded from http://quazip.sourceforge.net/

    How to add the Quazip library? Please explain the step, never add lib before.

    Thank you

    I have change the .pro file

    Like this:

    http://StackOverflow.com/questions/13341234/unzip-files-downloaded-from-Server

  • How to add the profile of lenses?

    How to add the profile of lenses?

    At the bottom of the link, you will find a link for the lens profile downloader. With this tool, you can download the profiles shared by other users.

    Work with lenses profiles in Adobe Photoshop, Lightroom and Camera Raw

  • How to add the new column in existing table to our desired location?

    How to add the new column in existing table to our desired location?

    For example, I have to add the new column 'course' before the salary column in the emp table.

    I think the best way is to add the column at the end of the table and create a new view with the order of the columns...

    Another option...

    places the data into a temporary table and recreate the table with the correct order of the columns, and then insert data to the table from the temporary table

    Refer

    Add column (from table) in the desired position

    Example:

    CREATE TABLE temp_my_user LIKE)

    SELECT * FROM password);

    DROP TABLE password;

    (Password) CREATE TABLE

    userID NUMBER

    , first name VARCAHR2 (25)

    , middleInitial VARCHAR2 (1)

    (, name VARCHAR2 (25));

    INSERT INTO password (userID, firstName, lastName)

    (SELECT username

    first name

    lastName

    OF temp_my_user);

    DROP TABLE temp_user;

  • How to add the bar at the bottom of the page [Dreamweaver]

    Hello!

    How to add the bar at the bottom of the page that helps me to make changes in my creation page?

    Not sure I understand.  Looking for the properties panel?  Press Ctrl + F3 or go to window > properties.

    Nancy O.

  • Please tell me how to add the English language in photoshop?

    Hello! Please tell me How to add the English language in photoshop? I'm from Russia and acquired, respectively, also in Russia()

    Cloud of swap language http://helpx.adobe.com/creative-cloud/kb/change-installed-language.html

    or

    A product of Adobe for another language or version of trading platform for CS6

  • How to add the date felxfiled in OFA

    How to add the date felxfiled in OFA

    Hi gurus,

    How to add a date in the form OFA field. I tried but no optin schedule it. I need to add the calendar options before the flexfiled.

    Concerning

    Hello

    Allocate FND_STANDARD_DATE segment value your FDF everywhere where you want to see the calendar on the page of the OFA.

    Let me know if you need more help on this.

    Kind regards

    Hemant

  • How to add the collapsible functionality to the Spry Menu?

    Dear Adobe community,

    How to add the functionality of collapsible for the Spry Menu like the one on the White House | whitehouse.gov ?

    Load the White House Web site and minimize your browser window as observe you what happends to the menu bar when you pass a certain limit.

    This is the feature that I want to put in place and I would be happy if one of you could direct me to or share relevant information.

    Concerning

    Andreas

    This isn't a menu Spry Spry do not appear on mobile devices.

    Use any sensitive menu you like for example:

    CSS & jQuery Mobile Navigation Menu Demo

    The tutorial is here:

    CSS and jQuery Menu of Navigation Mobile reactive

  • How to add the form designed in adobe acrobat pro live cycle Designer?

    How to add the form designed in adobe acrobat pro live cycle Designer?

    I want to add the form designed in adobe acrobat pro live cycle Designer. I saved the form designed in adobe live cycle designer in pdf format. But you can't change the same in Adobe Acrobat format. I would like to add a few fields and use the fields designed by Adobe Live cycle Designer.

    You can only modify this form in LiveCycle Designer. Forms Acrobat and LCD are not interchangeable.

Maybe you are looking for

  • Why Apple turn off their phones when they are just iPods

    I got iPhone 4 32 GB is two years company Apple told me connect it to iTunes on my PC I did after 31/2 hours connete to iTunes Apple iPod said that they could not fi the phone now, I have lost over 32K photos and all info on my iPhone iPhone 4 all is

  • Windows Media Center crashes on Vista when you try to play Netflix

    I can connect to Netflix and discover my queue and all the rest. I can view the details of the episodes and so forth, but when I click on 'Play', Windows Media Center crashes and restarts itself - every time. There are other problems in Windows Media

  • crnimarko

    Help, please. I typed the wrong password when starting the computer 3 times and my computer is locked, is there a default code to be able to use the computer again. I took out the CMOS battery but the code still exists. Compaq mini 110 c-1100EMs /[pe

  • Pavilion dv6645us after you have installed Windows 7 ultimate x 64 no drivers for base system device

    After you have installed windows 7 ultimate on my pavilion dv6645us laptop, I can't find drivers for base system device, location: 2 PCI Bus, device 5, function 2. Also for another device of the Base system, location: 2 PCI Bus, device 5, function 3,

  • License to degrade steps for visual studio 2010 2012

    I have Visual Studio 2012 license key ultimate volume of 5 users (developer), then how can I used it in VS2010 [downgarde] for a single machine. Future prospects for assistance. Kind regards WILSON