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 Wanet Telecoms Ltd 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: sxie
  • Order by date
  1. sxie

    Add values to 2 User Account attributes

    Hello, yes indeed I had a typo. However, after removing the double quotes from the value of CN, I am getting error "A referral was returned by the server". Any idea what that would mean?
  2. sxie

    Add values to 2 User Account attributes

    I have borrowed a few lines from MS script center to modify certain values on a user account. What I would like to do is to a phone number, then add a value in the "assistant" field. This field is defined in the AD schema but it is not displayed in the AD Users and Computers user account...
  3. sxie

    Troubleshoot WINS/DNS

    Thanks for the advise. I am fairly certain that we can ping and resolve the domain.com on their network. I will have the onsite contact check the DNS zone to see if it is set for dynamic updates. Anything else we should look into?
  4. sxie

    Troubleshoot WINS/DNS

    We were asked to assist troubleshooting a small network setup where there is 1 win2k with AD, DNS, WINS, DHCP. The problems users are having include: 1.not able to change password, they get "domain controller can not be located", 2. can't see local printer being shared, 3. can't join...
  5. sxie

    How can I compare string with spaces

    Thank you all so much for the tips! Although I was able to use Rtrim and Right(pcmodel,5) to resolve the issue, I will definitely try the LCase() string and the REPLACE function as alternatives.
  6. sxie

    How can I compare string with spaces

    Hi, all, I answered my own question. What I had to do the following for the IF statement: If Right(pcmodel,5) = "GX240" Then I am ready the last 5 characters of the pcmodel avoiding the space issue.
  7. sxie

    How can I compare string with spaces

    Hi, all, I am very new to scripting. Need your help on handling string comparison. I am trying to check whether a pc model matches, eg., "OpliPlex GX260". However, it seems that it is having difficulty with the space between "OpliPlex" and "GX260". Here are...
  8. sxie

    Runas in WshShell to execute command with multiple switches

    I am very new to scripting. My challenge here is to write a script, which I will apply via Group Policy later, to use runas to execute a command with multiple switches. Below are the lines I am troubleshooting: Set WshShell = CreateObject("WScript.Shell") WshShell.Run "runas...

Part and Inventory Search

Back
Top