Link to home
Create AccountLog in
Avatar of sirbounty
sirbountyFlag for United States of America

asked on

powershell - wmi access denied issues

Trying to acquire disk information for a collection of 'supposedly' identical servers.  These were all built the same - all W2k8R2.
The wmi query works using my admin ID, however I'm trying to get it setup with a service account.
So, the same exact script executes fine with this service account ONLY against 3 of the 10 servers.
I've verified wmi/gpo/dcom permissions - they seem identical (though I can recheck any if requested).
What else could be preventing the connection to these servers?

I even attempted, as a test, to provide the -credential parameter and supply my credentials - that also failed.
ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of sirbounty

ASKER

Ah, all that led me to seeing that the local group admins does not contain my domain group on those servers... I think that's it.  It will take me a bit to confirm.