StrangeDOS Base Rate


Joined: May 06, 2007 Posts: 7
Certs: MCP Windows 3.1 and Windows for Workgroups /MCSE NT4 /MCSE 2000 /MCSE 2003 /MCSA 2003 Studying For: Vista Role: IT Support
Status: Offline
|
Posted: Sun May 06, 2007 2:57 pm Post subject: Borg dump scripting question 70-292 |
  |
|
Borg dump for 70-292 question 42 has an incorrect answer.
The correct answer would be the following...
Set oGroup=oOU.Create("Group","cn=Acounting")
oGroup.put "sAMAscount","Accounting"
oGroup.SetInfo
I checked this against other dumps and when I couldn't trust any of them, I built the script myself and ran it on my test DC. That's when I figured out that there wasn't any such thing as oGroup.Create. It is supposed to be oOU.Create, then you declare it a 'group'.
This also means the TestKing has it wrong too. I finally got the correct information off the Microsoft TechNet site.
|
____________ StrangeDOS
17 tests...nothing but net
www.strangedos.com |
| Back to top |
|
 |
Sponsor
|
|
 |
StrangeDOS Base Rate


Joined: May 06, 2007 Posts: 7
Certs: MCP Windows 3.1 and Windows for Workgroups /MCSE NT4 /MCSE 2000 /MCSE 2003 /MCSA 2003 Studying For: Vista Role: IT Support
Status: Offline
|
Posted: Mon May 07, 2007 4:38 pm Post subject: |
    |
|
Wow...a number of people have read my scripting post. If any of you are curious, here is a working version of the script...
Set oRoot = GetObject("LDAP://rootDSE")
Set oDomain = GetObject("LDAP://" & oRoot.Get("defaultNamingContext"))
Set oOU=oDomain.Create("organizationalUnit", "ou=Demo OU")
oOU.Put "Description", "Demonstration OU"
oOU.SetInfo
Set oGroup = oOU.Create("Group", "cn=Demo Group")
oGroup.Put "sAMAccountName", "DemoGroup"
oGroup.Put "Description", "Demonstration Group"
oGroup.SetInfo
Set oUser = oOU.Create("User", "cn=Demo User")
oUser.Put "sAMAccountName", "DemoUser"
oUser.Put "Description", "Demonstration User"
oUser.SetInfo
oUser.SetPassword "1StrongPassword!"
oUser.AccountDisabled = False
oUser.SetInfo
oGroup.Add oUser.ADSPath
It does the following...
1. Creates an OU named 'Demo OU'
2. Creates a group in 'Demo OU' called 'Demo Group'
3. Creates a user in 'Demo OU called 'Demo User' with a password of 1StrongPassword! and is a member of 'Demo Group'
NOTE: To run this just do the following...
1. Open Notepad
2. Copy the script into Notepad
3. Save it as SCRIPT.VBS
4. Copy it to your test Domain Controller
5. Double click on it
Keep in mind that you can only run it once. If you run it a second time it will error out and tell you that the objects you are tring to create already exist. If you delete 'Demo OU', then you can run the script again.
Enjoy!
|
____________ StrangeDOS
17 tests...nothing but net
www.strangedos.com |
| Back to top |
|
 |
edelmott Base Rate


Joined: Posts: 1
Certs: Studying For: Role:
Status: Offline
|
| Back to top |
|
 |
NTLDR Base Rate


Joined: Nov 27, 2003 Posts: 23
Certs: MCSE on Win 2000 Studying For: 70-291 Role: Networking
Status: Offline
|
Posted: Sat Jun 02, 2007 7:47 pm Post subject: |
    |
|
I took the info straight from the testking material when I created the dump so I trusted their answer at the time and didn't bother rechecking 600 and something questions individually
Heck, creating the dump in itself is time consuming alone.
Anyhow, save your time because all the exams have been updated and the questions are no longer valid.
NONE OF THEM ARE ON THE EXAMS ANYMORE
|
|
| Back to top |
|
 |
websthetics Base Rate


Joined: Apr 01, 2006 Posts: 5
Certs: MCSE NT 4.0 Studying For: MCSE 2003 Role: Networking
Status: Offline
|
Posted: Thu Jun 07, 2007 1:42 am Post subject: |
    |
|
| NTLDR wrote:
|
I took the info straight from the testking material when I created the dump so I trusted their answer at the time and didn't bother rechecking 600 and something questions individually
Heck, creating the dump in itself is time consuming alone.
Anyhow, save your time because all the exams have been updated and the questions are no longer valid.
NONE OF THEM ARE ON THE EXAMS ANYMORE
|
Does that mean Microsoft changed their exams or Test King changed theirs?
|
|
| Back to top |
|
 |
StrangeDOS Base Rate


Joined: May 06, 2007 Posts: 7
Certs: MCP Windows 3.1 and Windows for Workgroups /MCSE NT4 /MCSE 2000 /MCSE 2003 /MCSA 2003 Studying For: Vista Role: IT Support
Status: Offline
|
Posted: Tue Jul 10, 2007 8:59 pm Post subject: |
  |
|
|
| | | | | | |