Re: Read-In a .txt File
From: Garth (anonymous_at_discussions.microsoft.com)
Date: 06/23/04
- Previous message: Kelly Bubach: "Re: Clients not in AD aren't discovered"
- In reply to: David Stewart [MSFT]: "Re: Read-In a .txt File"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 23 Jun 2004 18:16:46 -0400
This is what I did:
1) Create on Mif for each department
2) Place each mif file within a directory on the Netlogon share.
3) Within the logon script (KIX) copy the appropriate mif file to the
workstation based on which NT group they belong to.
The beauty of this is then when I client moves from one NT group to another
NT group the new MIF file replaces the old one. SMS would then update the
database on the next inventory cycle.
-- Garth Jones www.MyITForum.com Columnists http://www.myitforum.com/contrib/default.asp?cid=116 "David Stewart [MSFT]" <davstew@microsoft.com> wrote in message news:OTM4UwLWEHA.2844@TK2MSFTNGP12.phx.gbl... > There isn't a built-in way for this specific task but it is certainly > something you could do with not much additional work, one approach might be > to write a utility or script that reads this file and places the information > in WMI or in a MIF file so hardware inventory can collect the information. > If you place the info in WMI then you could modify the sms_def.mof file to > collect this information as part of regular inventory. For more information > about extending hardware inventory you can download the SMS SDK from > http://www.microsoft.com/smserver/downloads/default.asp. > > -- > This posting is provided "AS IS" with no warranties, and confers no rights. > > > "D Law" <D Law@discussions.microsoft.com> wrote in message > news:9EDFEAAC-7C0C-41A6-9CA7-740802F272F8@microsoft.com... > > sorry I posted this question twice > > > > "D Law" wrote: > > > >> 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? We have > >> a .txt file located on each client at c:\%systemroot%\ which contains a 4 > >> digit numeric value (ex. 0001 thru 4400) which tells us which dept. this > >> machine belongs to. We would like to read this value in with SMS. We > >> are not sure if the MOF can be edited to incorporate this task. > >> > >> Thanks for your time. > >> Dan > >
- Previous message: Kelly Bubach: "Re: Clients not in AD aren't discovered"
- In reply to: David Stewart [MSFT]: "Re: Read-In a .txt File"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|