pinoyz Posted July 10, 2008 Share Posted July 10, 2008 The original poster most likely isn't going to respond. His last post was May 5th 2006. Besides, the changes that you need are very simple.Hi weaponx!!!Thanks for your reply. Do you mind if you post the additional code here.Thanks in adv.PInoyz Link to comment Share on other sites More sharing options...
BoogY Posted August 18, 2009 Share Posted August 18, 2009 If you put a computer name in the text field, and click on add computer to domain it will add the computer you are on to or it will add a remote computer ? Link to comment Share on other sites More sharing options...
cherdeg Posted August 18, 2009 Share Posted August 18, 2009 (edited) If you put a computer name in the text field, and click on add computer to domain it will add the computer you are on to or it will add a remote computer ?What about just trying it? >_< Edited August 18, 2009 by cherdeg Link to comment Share on other sites More sharing options...
BoogY Posted August 18, 2009 Share Posted August 18, 2009 Not a bad idea >_ Link to comment Share on other sites More sharing options...
cherdeg Posted September 29, 2009 Share Posted September 29, 2009 (edited) Btw., the following part of the script will, in my personal opinion, NOT skip out of the loop: If $existingOU <> "0" AND $existingOU <> $selectedOU Then $attemptJoin = MsgBox(4, "Computer exists in a different OU", "This computer already exists in a different OU." & @LF & @LF & _ "A computer with this name (" & $computername & ") already exists in another OU." & @LF & @LF & _ "The existing OU::" & @LF & _ $existingOU & @LF & @LF & _ "The OU you selected:" & @LF & _ $selectedOU & @LF & @LF & _ "Do you want to attempt to join the domain in this OU anway?") ;------------------------------------------------------------------------------ ; If user clicked "No" skip out of the loop ;------------------------------------------------------------------------------ If $attemptJoin = 7 Then ContinueLoop EndIf EndIf Some kinda "Else...ExitLoop" statement is missing, right? Only the fact that $attemptJoin is not = 7 will just not execute ContinueLoop, but the loop isn't stopped / paused / halted...or am I mistaken? Edited September 29, 2009 by cherdeg Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now