|
compname = InputBox ("Enter name of computer", "GetComputerName", "mycomputername") domname = InputBox ("Enter name of domain", "GetDomainName", "myhostname") Set
Most is Frederic's code...
Copy-n-paste the above, put it in a TEXT file named, uh, I don't know, "findcomp.vbs" and put it somewhere in your path statement.
If you have WSH installed (and if you are running w2k or wxp you do), either enter "findcomp.vbs" at a command prompt or double click on it. From: Pennell, Ronald B. [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 8:54 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] LDAP'ing a computer object in AD How can I take your code and save as an executable script?
Ron
-----Original
Message-----
compname = InputBox ("Enter name of computer", "GetComputerName", "mycomputername") domname = InputBox ("Enter name of domain", "GetDomainName", "myhostname") blah blah blah
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Anyway to make screen pops asking for compname and domname?
Shawn
|
Title: Message
- RE: [ActiveDir] LDAP'ing a computer object in AD Joe
- RE: [ActiveDir] LDAP'ing a computer object in AD Ken Cornetet
- RE: [ActiveDir] LDAP'ing a computer object in AD Mulnick, Al
- [ActiveDir] LDAP'ing a computer object in AD james . cate
- RE: [ActiveDir] LDAP'ing a computer object in AD Frederic Allaert
- RE: [ActiveDir] LDAP'ing a computer object in AD Shawn.Hayes
- RE: [ActiveDir] LDAP'ing a computer object in AD Michael B. Smith
- RE: [ActiveDir] LDAP'ing a computer object in AD Pennell, Ronald B.
- RE: [ActiveDir] LDAP'ing a computer object in AD Creamer, Mark
- RE: [ActiveDir] LDAP'ing a computer object in AD Michael B. Smith
- RE: [ActiveDir] LDAP'ing a computer object in AD Joe
