Announcement

Collapse
No announcement yet.

Move machines from .txt file?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Move machines from .txt file?

    Hi,

    I've done a bit of searching, but can't figure out how to move multiple machines from one OU to another by reading a text file with the machine names.

    Any clues?

    Thanks,

    -Mike

  • #2
    Re: Move machines from .txt file?

    What you can do is create and Object Grouping out of your text file. To do this, rename your file to qstation.dat. Your entries will look like:

    Server1 Machines
    Server2 Machines
    Server3 Machines

    There are 2 tabs between those.

    Then go to File->Manage Object View and click the button to Import Quick Access. Find the file you created and it should pull in the computers and put them in a group called Machines.

    Click OK to save that and find the newly added group object in Hyena's left window, then double-click on it.

    This will display the computers in Hyena's right window, allowing you to select all of them. Right-click over the selected computers and choose Directory Functions->Move.

    Comment


    • #3
      Re: Move machines from .txt file?

      <div class="ubbcode-block"><div class="ubbcode-header">Quote:</div><div class="ubbcode-body">Originally posted by cmccullough:
      <span style="font-weight: bold">What you can do is create and Object Grouping out of your text file. To do this, rename your file to qstation.dat. Your entries will look like:

      Server1 Machines
      Server2 Machines
      Server3 Machines

      There are 2 tabs between those.

      Then go to File->Manage Object View and click the button to Import Quick Access. Find the file you created and it should pull in the computers and put them in a group called Machines.

      Click OK to save that and find the newly added group object in Hyena's left window, then double-click on it.

      This will display the computers in Hyena's right window, allowing you to select all of them. Right-click over the selected computers and choose Directory Functions->Move.</span></div></div>

      When doing the above, all the machines get moved to the left window, not in a group. Tried changing the Object Type to "Object Grouping" and it still put the machines on the left, not in a folder I could open on the right.

      What might I be doing wrong??

      By the way my text file has ONLY the machine name on a line by itself.

      eg..

      machine1
      machine2
      machine3
      .
      .
      .
      machine100

      Thanks,

      -Mike

      P.S. I've also looked at:
      http://www.systemtools.com/HyenaBoar...ML/000440.html

      for other clues. No luck.



      [This message has been edited by mdwerne (edited 04-15-2004).]

      Comment


      • #4
        Re: Move machines from .txt file?

        Using the instructions above would have been a little less confusing because all you have to do is modify your file to include the group you want the computers to be in. This can be done quite easily with Excel.

        But since you have the computers in there already, what you'll need to do is create an Object Grouping and call it Machines (or whatever you want.)

        Use the Up button in Object Manager to move it up the list to directly above the first computer that you want to be in this list. You'll then select these computers, and once selected click the button labeled Right. This will physically indent them in the window above, making them sub-objects to the Object Grouping you just created.

        Click OK to close Object Manager and you should see the new object with the computers in it.

        Comment


        • #5
          Re: Move machines from .txt file?

          <div class="ubbcode-block"><div class="ubbcode-header">Quote:</div><div class="ubbcode-body">Originally posted by cmccullough:
          <span style="font-weight: bold">Using the instructions above would have been a little less confusing because all you have to do is modify your file to include the group you want the computers to be in. This can be done quite easily with Excel.

          But since you have the computers in there already, what you'll need to do is create an Object Grouping and call it Machines (or whatever you want.)

          Use the Up button in Object Manager to move it up the list to directly above the first computer that you want to be in this list. You'll then select these computers, and once selected click the button labeled Right. This will physically indent them in the window above, making them sub-objects to the Object Grouping you just created.

          Click OK to close Object Manager and you should see the new object with the computers in it.</span></div></div>

          This worked, thanks for clarifying.

          -Mike

          Comment


          • #6
            Re: Move machines from .txt file?

            <div class="ubbcode-block"><div class="ubbcode-header">Quote:</div><div class="ubbcode-body">Originally posted by mdwerne:
            <span style="font-weight: bold"> This worked, thanks for clarifying.

            -Mike

            </span></div></div>

            Now I can see the list on the right, but when I right click I do not get the option of Directory Functions - only the machines up in the Containers/OU's have that option. I noticed that the path is \\machinename - do I need to specify which OU the computers currently live in somewhere? So Hyena knows where to move from?

            Thanks again,

            -Mike

            Comment


            • #7
              Re: Move machines from .txt file?

              Unfortunately I didn't look to the next step in that these won't be considered AD objects, but rather as computer objects.

              I thought we could import your list and do this, but apparently not.

              Basically, the only way to do this would be to select the computers in Hyena in either the OU they currently belong to, or from the Computers object, then right-click and choose Directory Functions->Move.

              Comment

              Working...
              X
              😀
              🥰
              🤢
              😎
              😡
              👍
              👎