Re: Datafile problem



CuriousMe wrote:

when i write a script using properties of "datafile" clss in
WMI, it doesn't work. I mean it doesn't return anything. is
there something wrong with datafile of WMI.?

how can i fix this problem.?
Hi,

CIM_DataFile works fine for me.

Could you please post a short script (exactly just as you run it)
that does not work for you?


-- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx .



Relevant Pages

  • Re: WMI Reference
    ... You will be writing a complex custom application / script for that. ... A good way to get used to what Wmi is and the way it works is to use ... be detected by Sms, etc. ... Scriptomatic tool from the scripting tech center. ...
    (microsoft.public.sms.admin)
  • Re: "Win32_Processor: WMI: Access denied" and "Win32_OperatingSystem: WMI: Access den
    ... >> I have tried stopping the WMI service, ... >> Can anyone help me fix this WMI? ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.windowsxp.wmi)
  • Re: 2 questions: uptime and last logged on users
    ... > For your computer uptime question: ... > ' Converts WMI Date and Time Format to standard date/time ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.win32.programmer.wmi)
  • Re: security center
    ... but you can query the PC's via WMI (Windows Management Instrumentation) scripting. ... The below script is for the local computer, and would need to be modified to determine all PC's on your network/domain and then query each computer individually and report when there is a problem. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Copying and running processes on remote machines
    ... WMI Scripting Primer: Part 1 ... Managing Windows Registry with Scripting ...
    (microsoft.public.win32.programmer.wmi)

Loading