Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: bgfs
  • Order by date
  1. bgfs

    add AD users to a alphabetical group

    Any one got any ideas on how to create a script that sorts users alphabetically based on the first letter of their username and moves them into corresponding global groups
  2. bgfs

    SMS access issue

    We recently migrated to a new Active Directory domain. The SMS Server remained on the old domain. Since migrating, our new domain accounts have been added into SMS Admins. Since the migration, my local sms console has opened but items such as Site hierarchy, collections are empty. When I check...
  3. bgfs

    Scripting for a beginer

    Thanks to your help you've given me some breathing space and a place to start to refine the script toward the 2nd of your suggestions. As I refine the script I'll post here if I get any probs. Thanks again for your help, its much appreciated.
  4. bgfs

    Scripting for a beginer

    Sorry just seen where the problem was I'd commented the line On error......Works perfectly now, Thanks for you help MrMovie
  5. bgfs

    Scripting for a beginer

    Thsnks for your continued help. The script does already include this statement: ' On Error Resume next intCounter = 1 For Each objUser In objOU If objUser.Class = lcase("User") then objGroup.add(objUser.ADsPath) intCounter = intcounter +1 End If Next However if the users...
  6. bgfs

    Scripting for a beginer

    outstanding! that worked, thanks for your help on that, now for the next stage... When I added another user and ran the script again, the error reported that the object already exists. How do I code the script to check if the item already exists in the target global group then move on to the...
  7. bgfs

    Scripting for a beginer

    Forget the last one, I'm now getting: Script: Move.vbs Line: 15 Char: 1 Error: There is no such object on the server Code 800720030 (source(null) I have checked both the source and target on the AD and both exist. This is the actual code I've used: Option Explicit Dim objRootLDAP...
  8. bgfs

    Scripting for a beginer

    Getting an error: Script: Move.vbs Line: 15 Char: 1 Error: An invalid dn syntax has been specified code: 80072032 Source: (null) Any ideas what this means
  9. bgfs

    Scripting for a beginer

    Thanks I'll try it
  10. bgfs

    Scripting for a beginer

    Sorry to be an absolute beginer but how and where do I run this script?
  11. bgfs

    Copying users from a OU to a global group by script

    I have a task where I need to populate a global group in active directory with users copied from an a nested OU in the same parent OU. I've never used scripts before but as this appears to be the only way of copying mass users across I have to give it a try. Where do I start and how and where do...
  12. bgfs

    using SMS to change workstation Local admin password

    How do I use sms to change the password of the local admin account on several systems
  13. bgfs

    Scripting for a beginer

    Thanks for you help I'll try this
  14. bgfs

    Scripting for a beginer

    Thanks its getting clearer. Excuse my inexperience but is the strOU the source OU and strGroup the Target group? and should you include the full distinguished to the target group also?
  15. bgfs

    Scripting for a beginer

    Does it matter that the OU is nested and that the target global group is else where in the AD? How would I phrase the code to accomodate this?
  16. bgfs

    Scripting for a beginer

    Thanks I'll give it a try
  17. bgfs

    Scripting for a beginer

    I should add that this is an area root user OU so there will be a few thousand users.
  18. bgfs

    Scripting for a beginer

    I've been given a task where I have to copy users from an Active Directory OU to a global Group then schedule this to happen twice daily. I've never used scripts before and haven't got a clue where to start. Can someone show me a quick way to script this action. As I've never done this before I...
  19. bgfs

    Problems connecting

    I have the several workgroup PCs that must connect to a database hosted on SQL 2000 on a Win2k server on a domain. The database is configured for mixed mode. If I try to set up an ODBC System dsn using SQL Authentication, I get a Server does not exist or access denied error. I can connect to...
  20. bgfs

    Query for Service Pack

    Thanks for that. It returned what I was after perfectly and given me an idea of query construction. Thanks

Part and Inventory Search

Back
Top