Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to test domain credentials against multiple hosts in a subnet/domain taking into account that WMI is allowed for remote access and no firewalls on local machines are enabled?

I need something like VMware vCenter Protect there you can choose machine group, assign credentials and test the supplied credentials and get summary why it didn't work for specific machine?

Is there something similar built-in into OS?

share|improve this question

I think the general idea is that since you're talking about parallelism, you need something multithreaded. Powershell could do this easily with either jobs or workflows, but 2003 is an old operating system so you'd be limited to PS 2. (Of course you could also whip something up in .NET.) Here's a very basic example:

Foreach($_ in $ComputersFile)
    Start-Job -ScriptBlock { Get-WMIObject Win32_ComputerSystem -Computer $_ -Credential $Creds }

The jobs will run in parallel. Once all the jobs are finished, use Receive-Job to gather the results.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.