Re: Read-In Contents of File

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Joseph Calabig [MSFT] (jcalabig_at_microsoft.com)
Date: 06/17/04


Date: Thu, 17 Jun 2004 15:40:06 -0700

As Stan suggested, if you can get this written in the registry somewhere SMS
can get it via Hardware Inventory.
Other ways to it would be to extend Hardware Inventory via NOID MIF.

See if these link help:
http://www.microsoft.com/technet/prodtechnol/sms/sms2/featusability/sms-regx.mspx
http://www.microsoft.com/technet/prodtechnol/sms/sms2003/opsguide/ops_4kj7.mspx
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/smssdk03/hh/sms/usingsms_1309.asp

-- 
Thanks,
Joseph Calabig
This posting is provided "AS IS" with no warranties, and confers no rights.
"Stan White [MS]" <stanwh@microsoft.com> wrote in message 
news:uTscCGJVEHA.2972@TK2MSFTNGP11.phx.gbl...
> Seems like it would be easier to stamp the data in the registry once and 
> then customize hardware inventory to pick it up.
> (I'm guessing your environment won't allow you to do this with the 
> machine's account in AD).
>
> -- 
> -- 
> Stan [MSFT]
> --
> --
> This posting is provided "AS IS" with no warranties, and confers no 
> rights.
> --
> --
>
> "D Law" <D Law@discussions.microsoft.com> wrote in message 
> news:5B04B762-8BEE-45C3-9D8D-F7CF59A941C4@microsoft.com...
>> Does anyone wkow if it is possible for SMS to read-in the contents of a 
>> .txt file that would be located on each client under c:\%systemroot%\ and 
>> then store that information in the SMS database or take that information 
>> and store it in the registry?  We have a .txt file on each client that 
>> has a 4 digit number (ex. 0001 thru 4400) which indicates which dept this 
>> machine belongs to.  We would like to read this information into SMS.
>>
>> Thanks for your time.
>> Dan
>
> 


Relevant Pages

  • Re: Custom SMS_def.mof inventory
    ... So i need to create and run a VB script to enumerate the proxy settings in ... the user hive of the registry? ... Unfortunately sms cannot do that in this way. ... > When Hardware inventory runs it uses either the sms client service ...
    (microsoft.public.sms.inventory)
  • Re: Read-In Contents of File
    ... > then store that information in the SMS database or take that information ... > and store it in the registry? ... We have a .txt file on each client that has ...
    (microsoft.public.sms.inventory)
  • Re: Read-In a .txt File
    ... in WMI or in a MIF file so hardware inventory can collect the information. ... "D Law" wrote in message ... >> Does anyone know if SMS has the ability to read-in a .txt file and store ... >> that info. in the SMS database or store the info in the registy? ...
    (microsoft.public.sms.inventory)
  • Re: SMS Inventory Capability
    ... non-microsoft version of what sms hardware inventory can do. ... written to wmi or registry for collection. ...
    (microsoft.public.sms.inventory)
  • Re: Read-In a .txt File
    ... Place each mif file within a directory on the Netlogon share. ... SMS would then update the ... > in WMI or in a MIF file so hardware inventory can collect the information. ... >>> that info. in the SMS database or store the info in the registy? ...
    (microsoft.public.sms.inventory)