Run-PostBuildCheckout -Computer D1,D2 -Verbose
For these above scenario,
Overall 20 checkouts to be finished.
I'm not sure it matters, beyond what will work in your environment. Is Remoting available? If so, you could certainly use Invoke-Command. It would likely be more efficient since each computer would run its own checks, vs. WMI calls which would be sequential from the originating computer.
If you have several checks, perhaps Desired State Configuration would be better than developing an extensive script, since that would also remediate any problems. DSC is a WMF4.0 feature.
As a note, more-descriptive post subjects will often solicit more-specific responses. As in, "Performing configuration checks of computers" as opposed to, "Automation help required." That's just a suggestion you can consider for future posts. Nearly every post here is in regard to automation help.
I will go for Invoke-Command as i should give the prototype in a short time.
Thanks again for providing wonderful handy free e-books, that really provides a good insight into PowerShell
You must be logged in to reply to this topic.