Re: Does WMI have to be installed on Remote Computer?
- From: "Mark D. Gregory" <hackaroo@xxxxxxxxxxxxxx>
- Date: Thu, 16 Mar 2006 17:21:46 -0700
Try capturing err.description as well as err.number. Also, you can use MSDN
to lookup error codes.
Mark
"Jennifer" <jennifer1970@xxxxxxxxxxx> wrote in message
news:1142527519.364530.141520@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thank you for your response. It is appreciated. Just a couple of
questions to clarify things for me.
What exactly does -2147217405 mean when it is returned as an error
code?
And this is a weird thing for me to understand... I've been keeping a
close eye on results from one particular server. When I run my script
from my computer I only get results for Drive C on this server. And
what's more, the size of Drive C comes back as 76254. I'm thinking,
okay - I just don't have rights to see the other drives. But then if I
can't see drives D, E, H and Q, why can I see C? And what's more, when
someone else runs the script who does have admin rights, they get
results back for ALL the drives and yet the size for drive C comes
back at 10001. So what's up with that? Why would the size change? I
could run the script 2 minutes later and it is 76254 again.
Any thoughts on that?
Thanks again!
.
- References:
- Does WMI have to be installed on Remote Computer?
- From: Jennifer
- RE: Does WMI have to be installed on Remote Computer?
- From: Mark
- Re: Does WMI have to be installed on Remote Computer?
- From: Jennifer
- Does WMI have to be installed on Remote Computer?
- Prev by Date: Re: Folder/Sub-folder contents to a DB
- Next by Date: Re: Folder/Sub-folder contents to a DB
- Previous by thread: Re: Does WMI have to be installed on Remote Computer?
- Next by thread: remove first horizontal tab on each line
- Index(es):
Relevant Pages
|