/build/static/layout/Breadcrumb_cap_w.png

Get_Manufacturer_Model_OS.vbs Missing after K2000 3.5 Upgrade

We can't find the Get_Manufacturer_Model_OS.vbs script in the drivers_postinstall\feedtools directory after upgrading the K2000 from 3.4 to 3.5. Why is it gone? We need to know how to label the folders in the drivers_postinstall share.


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
We ended up having to have support put the file back.
Posted by: mpace 11 years ago
Red Belt
3

You should now be using the driver feed discovery script to build custom feeds, as the older script no longer reports accurate information for building feeds.

Posted by: SMal.tmcc 11 years ago
Red Belt
0

It still shows in our kbox

 

 

'Get Manufacturer

wmiQuery = "Select * from win32_ComputerSystem"

Set objWMIService = GetObject("winmgmts:\\")
Set colItems = objWMIService.ExecQuery(wmiQuery)

For Each objItem in ColItems
      strManufacturer = objItem.Manufacturer
      If (InStr(strManufacturer ,"Dell") > 0) Then strManufacturer ="dell"
      If (InStr(strManufacturer ,"Hewlett-Packard") > 0) Then strManufacturer ="hp"
      If (InStr(strManufacturer ,"Lenovo") > 0) Then strManufacturer ="lenovo"
      If (InStr(strManufacturer ,"VMware") > 0) Then strManufacturer ="vmware"
Next
strManufacturer = Replace(strManufacturer, " ", "_")

'*************** Get model
wmiQuery = "Select * from win32_ComputerSystem"

Set objWMIService = GetObject("winmgmts:\\")
Set colItems = objWMIService.ExecQuery(wmiQuery)

For Each objItem in ColItems
      strModel = objItem.Model
    If (InStr(strModel,"Latitude") > 0) Then strModel = mid(strModel,9,20)
    If (InStr(strModel,"Percision") > 0) Then strModel = mid(strModel,10,21)
    If (InStr(strModel,"OptiPlex") > 0) Then strModel = mid(strModel,9,20)
strModel = Trim(strModel)
Next
strModel = Replace(strModel, " ", "_")

'*******************Get operating system
wmiQuery = "Select * from Win32_OperatingSystem"

Set objWMIService = GetObject("winmgmts:\\")
Set colOs = objWMIService.ExecQuery(wmiQuery)

For Each objItem in colOs
strOs = objItem.Caption

Next

strModel = Trim(strModel)
'strManufacturer = Trim(strManunacturer)
'strOS = Trim(srtOS)

      Wscript.echo("Manufacturer: " & strManufacturer & (Chr(13) & chr(10)) & (Chr(13) & chr(10)) & "Model: " & strModel & (Chr(13) & chr(10)) & (Chr(13) & chr(10)) &"OS: " & strOs)

 


Comments:
  • We ended up having to have support put the file back. - cpmarks 11 years ago
    • As mpace mentioned above, you really should be using the Driver Feed Discovery Tool as that will report more accurate information and will show the actual path that needs to be created as well. - andrew_lubchansky 11 years ago
  • I have noticed that you no longer use the underscore in place of spaces for the model name. We have to rename all our feeds that were pre-existing. Where do I find the Driver Feed Discovery Tool, the documentation for 3.5 doesn't mention it. - cpmarks 11 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ