Berry, Morgan A. | 1 Apr 2006 01:01

30 minute PPT

I need to do a quickie (30 minute) overview of the basics of the Helpdesk and ticket screens.  Does anyone have any PPT or other type of presentation they are willing to share?
 

Morgan Berry Help Desk Manager

 

Law Offices of Neal, Gerber & Eisenberg LLP
Direct
.
312.269.8423Cell. 312.731.2870
Fax.
312.750.8402
mberry-+1udaqhncy7QT0dZR+AlfA@public.gmane.org
 

YAHOO! GROUPS LINKS


Louie Meletlidis | 5 Apr 2006 20:40

Auditing & pulling Dell service tags ??

All,
 
anyone have a procedure where we can associate/view the inventoried new pc from the dell service tag
to the asset id ??
 
i did a few but it shows as asset id 425
 
thanks
 
Lou

YAHOO! GROUPS LINKS


Marty Yantzie | 5 Apr 2006 20:47
Favicon

RE: Auditing & pulling Dell service tags ??

The asset id should be the Dell service if the service tag information is set in the bios.  If audit32 cannot read the service tag info it will set the asset id the same as the TrackIT asset number.  You need to make sure that the service tag is actually readable.  I have attached a script that you can run on a remote computer to see if the service tag information is there.  I also have a version that will check multiple computers and output to a csv file.
 
 
' Script to return asset tag from computers.
 
strComputer = InputBox("Enter computer name or ip address", _
 "Enter computer name", "WS-")
If (IsNull(strComputer)) Or (strComputer = "") Then
 MsgBox "Please computer name or ip address you wish to scan."
 ExitScript
End If
 
'On Error Resume Next
if (IsConnectible(strComputer, "", "") OR (strComputer = ".")) Then
 Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
 Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystemProduct", "WQL", wbemFlagReturnImmediately + wbemFlagForwardOnly)
 For each objItem in colItems
  MSGBox ( objItem.IdentifyingNumber )
 Next
 Set objItem = nothing
 Set objWMIService = nothing
else
  MSGBox ( "Not Reachable" )
end if
Set strComputer = nothing
 
Function IsConnectible(sHost,iPings,iTO)
 If iPings = "" Then iPings = 2
 If iTO = "" Then iTO = 750
  Set oShell = CreateObject("WScript.Shell")
  Set oExCmd = oShell.Exec("ping -n " & iPings _
   & " -w " & iTO & " " & sHost)
  Select Case InStr(oExCmd.StdOut.Readall,"TTL=")
    Case 0 IsConnectible = False
    Case Else IsConnectible = True
  End Select
End Function
 
Private Sub ExitScript()
 WScript.Quit
End Sub
 
 
Marty
-----Original Message-----
From: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org] On Behalf Of Louie Meletlidis
Sent: Wednesday, April 05, 2006 1:40 PM
To: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Subject: [Track-It_HelpDesk] Auditing & pulling Dell service tags ??

All,
 
anyone have a procedure where we can associate/view the inventoried new pc from the dell service tag
to the asset id ??
 
i did a few but it shows as asset id 425
 
thanks
 
Lou

YAHOO! GROUPS LINKS


Louie Meletlidis | 5 Apr 2006 21:02

RE: Auditing & pulling Dell service tags ??

Awesome !!
thanks marty
so actually i can put that into a .bat file
and run from login script also ?
 
 

From: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org] On Behalf Of Marty Yantzie
Sent: Wednesday, April 05, 2006 2:47 PM
To: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Subject: RE: [Track-It_HelpDesk] Auditing & pulling Dell service tags ??

The asset id should be the Dell service if the service tag information is set in the bios.  If audit32 cannot read the service tag info it will set the asset id the same as the TrackIT asset number.  You need to make sure that the service tag is actually readable.  I have attached a script that you can run on a remote computer to see if the service tag information is there.  I also have a version that will check multiple computers and output to a csv file.
 
 
' Script to return asset tag from computers.
 
strComputer = InputBox("Enter computer name or ip address", _
 "Enter computer name", "WS-")
If (IsNull(strComputer)) Or (strComputer = "") Then
 MsgBox "Please computer name or ip address you wish to scan."
 ExitScript
End If
 
'On Error Resume Next
if (IsConnectible(strComputer, "", "") OR (strComputer = ".")) Then
 Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
 Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystemProduct", "WQL", wbemFlagReturnImmediately + wbemFlagForwardOnly)
 For each objItem in colItems
  MSGBox ( objItem.IdentifyingNumber )
 Next
 Set objItem = nothing
 Set objWMIService = nothing
else
  MSGBox ( "Not Reachable" )
end if
Set strComputer = nothing
 
Function IsConnectible(sHost,iPings,iTO)
 If iPings = "" Then iPings = 2
 If iTO = "" Then iTO = 750
  Set oShell = CreateObject("WScript.Shell")
  Set oExCmd = oShell.Exec("ping -n " & iPings _
   & " -w " & iTO & " " & sHost)
  Select Case InStr(oExCmd.StdOut.Readall,"TTL=")
    Case 0 IsConnectible = False
    Case Else IsConnectible = True
  End Select
End Function
 
Private Sub ExitScript()
 WScript.Quit
End Sub
 
 
Marty
-----Original Message-----
From: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org] On Behalf Of Louie Meletlidis
Sent: Wednesday, April 05, 2006 1:40 PM
To: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Subject: [Track-It_HelpDesk] Auditing & pulling Dell service tags ??

All,
 
anyone have a procedure where we can associate/view the inventoried new pc from the dell service tag
to the asset id ??
 
i did a few but it shows as asset id 425
 
thanks
 
Lou

YAHOO! GROUPS LINKS


Louie Meletlidis | 5 Apr 2006 21:04

RE: Auditing & pulling Dell service tags ??

the one that goes to a csv would be nice also if u can share.
regards,
 
 

From: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org] On Behalf Of Marty Yantzie
Sent: Wednesday, April 05, 2006 2:47 PM
To: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Subject: RE: [Track-It_HelpDesk] Auditing & pulling Dell service tags ??

The asset id should be the Dell service if the service tag information is set in the bios.  If audit32 cannot read the service tag info it will set the asset id the same as the TrackIT asset number.  You need to make sure that the service tag is actually readable.  I have attached a script that you can run on a remote computer to see if the service tag information is there.  I also have a version that will check multiple computers and output to a csv file.
 
 
' Script to return asset tag from computers.
 
strComputer = InputBox("Enter computer name or ip address", _
 "Enter computer name", "WS-")
If (IsNull(strComputer)) Or (strComputer = "") Then
 MsgBox "Please computer name or ip address you wish to scan."
 ExitScript
End If
 
'On Error Resume Next
if (IsConnectible(strComputer, "", "") OR (strComputer = ".")) Then
 Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
 Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystemProduct", "WQL", wbemFlagReturnImmediately + wbemFlagForwardOnly)
 For each objItem in colItems
  MSGBox ( objItem.IdentifyingNumber )
 Next
 Set objItem = nothing
 Set objWMIService = nothing
else
  MSGBox ( "Not Reachable" )
end if
Set strComputer = nothing
 
Function IsConnectible(sHost,iPings,iTO)
 If iPings = "" Then iPings = 2
 If iTO = "" Then iTO = 750
  Set oShell = CreateObject("WScript.Shell")
  Set oExCmd = oShell.Exec("ping -n " & iPings _
   & " -w " & iTO & " " & sHost)
  Select Case InStr(oExCmd.StdOut.Readall,"TTL=")
    Case 0 IsConnectible = False
    Case Else IsConnectible = True
  End Select
End Function
 
Private Sub ExitScript()
 WScript.Quit
End Sub
 
 
Marty
-----Original Message-----
From: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org] On Behalf Of Louie Meletlidis
Sent: Wednesday, April 05, 2006 1:40 PM
To: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Subject: [Track-It_HelpDesk] Auditing & pulling Dell service tags ??

All,
 
anyone have a procedure where we can associate/view the inventoried new pc from the dell service tag
to the asset id ??
 
i did a few but it shows as asset id 425
 
thanks
 
Lou

YAHOO! GROUPS LINKS


Marty Yantzie | 5 Apr 2006 21:09
Favicon

RE: Auditing & pulling Dell service tags ??

the attached script was meant to be run on an admin's workstation with a user logged on that has admin privleges to connect to remote computers.
-----Original Message-----
From: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org] On Behalf Of Louie Meletlidis
Sent: Wednesday, April 05, 2006 2:02 PM
To: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Subject: RE: [Track-It_HelpDesk] Auditing & pulling Dell service tags ??

Awesome !!
thanks marty
so actually i can put that into a .bat file
and run from login script also ?
 
 

From: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org] On Behalf Of Marty Yantzie
Sent: Wednesday, April 05, 2006 2:47 PM
To: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Subject: RE: [Track-It_HelpDesk] Auditing & pulling Dell service tags ??

The asset id should be the Dell service if the service tag information is set in the bios.  If audit32 cannot read the service tag info it will set the asset id the same as the TrackIT asset number.  You need to make sure that the service tag is actually readable.  I have attached a script that you can run on a remote computer to see if the service tag information is there.  I also have a version that will check multiple computers and output to a csv file.
 
 
' Script to return asset tag from computers.
 
strComputer = InputBox("Enter computer name or ip address", _
 "Enter computer name", "WS-")
If (IsNull(strComputer)) Or (strComputer = "") Then
 MsgBox "Please computer name or ip address you wish to scan."
 ExitScript
End If
 
'On Error Resume Next
if (IsConnectible(strComputer, "", "") OR (strComputer = ".")) Then
 Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
 Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystemProduct", "WQL", wbemFlagReturnImmediately + wbemFlagForwardOnly)
 For each objItem in colItems
  MSGBox ( objItem.IdentifyingNumber )
 Next
 Set objItem = nothing
 Set objWMIService = nothing
else
  MSGBox ( "Not Reachable" )
end if
Set strComputer = nothing
 
Function IsConnectible(sHost,iPings,iTO)
 If iPings = "" Then iPings = 2
 If iTO = "" Then iTO = 750
  Set oShell = CreateObject("WScript.Shell")
  Set oExCmd = oShell.Exec("ping -n " & iPings _
   & " -w " & iTO & " " & sHost)
  Select Case InStr(oExCmd.StdOut.Readall,"TTL=")
    Case 0 IsConnectible = False
    Case Else IsConnectible = True
  End Select
End Function
 
Private Sub ExitScript()
 WScript.Quit
End Sub
 
 
Marty
-----Original Message-----
From: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org] On Behalf Of Louie Meletlidis
Sent: Wednesday, April 05, 2006 1:40 PM
To: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Subject: [Track-It_HelpDesk] Auditing & pulling Dell service tags ??

All,
 
anyone have a procedure where we can associate/view the inventoried new pc from the dell service tag
to the asset id ??
 
i did a few but it shows as asset id 425
 
thanks
 
Lou


SPONSORED LINKS
Program management software Affiliate program software Scheduling program software
Construction software program Payroll software program Email software program

YAHOO! GROUPS LINKS


Marty Yantzie | 5 Apr 2006 21:20
Favicon

RE: Auditing & pulling Dell service tags ??

Here is the csv version.  Make sure to read the comments to make in work for you.  I am not much of a scriptor, but it works!
 
 
A simple script to return asset tag from all computers in active directory domain
' The output is exported to a comma serparated file with the name "service-tags.csv"
' Do not open the csv file until the vbscript is done.  You can make a copy of the file while
' the script is running and open the copy to see the results.  I may work on making the script
' acutally export to an XLS file that can be viewed as the script is running
' Marty Yantzie - 9JUN2005 - myyaz33-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
 
' you need to edit the local_domain variable to what ever your domain is
' you can limit the search to a specific OU by using the example directly below
'local_domain = LDAP://OU=Finance Computers,DC=yourdomain,DC=com

 
  Const wbemFlagReturnImmediately = &h10
  Const wbemFlagForwardOnly = &h20
  Const ADS_SCOPE_SUBTREE = 2
  Set objConnection = CreateObject("ADODB.Connection")
  Set objCommand =   CreateObject("ADODB.Command")
  objConnection.Provider = "ADsDSOObject"
  objConnection.Open "Active Directory Provider"
  Set objCOmmand.ActiveConnection = objConnection
  objCommand.CommandText = "Select Name, Location from '" & local_domain & "' Where objectClass='computer'" 
  objCommand.Properties("Page Size") = 1000
  objCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE
  objCommand.Properties("Sort On") = "name"
  Set fso = CreateObject("Scripting.FileSystemObject")
  Set MyFile = fso.CreateTextFile("service-tags.csv", True)
  MyFile.Writeline ("Report started " & Now())
  MyFile.Writeline ("Computer,Serial,Name,Vendor,Status") 
  Set objRecordSet = objCommand.Execute
  objRecordSet.MoveFirst
  Do Until objRecordSet.EOF
    On Error Resume Next
    strComputer = objRecordSet.Fields("Name").Value
 if (IsConnectible(strComputer, "", "") OR (strComputer = ".")) Then
        Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
  Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystemProduct", "WQL", wbemFlagReturnImmediately + wbemFlagForwardOnly)
  For each objItem in colItems
   MyFile.Writeline ( strComputer & "," & objItem.IdentifyingNumber & "," & objItem.Name & "," & objItem.Vendor & ",Reachable")
  Next
  Set objItem = nothing
  Set objWMIService = nothing
 else
      MyFile.Writeline ( strComputer & ",,,,Unreachable")
    end if
    Set strComputer = nothing
    objRecordSet.MoveNext
  Loop
  MyFile.Writeline ("Report Ended " & Now())
  MyFile.Close
  MsgBox ("DONE")
 
Function IsConnectible(sHost,iPings,iTO)
 If iPings = "" Then iPings = 2
 If iTO = "" Then iTO = 750
  Set oShell = CreateObject("WScript.Shell")
  Set oExCmd = oShell.Exec("ping -n " & iPings _
   & " -w " & iTO & " " & sHost)
  Select Case InStr(oExCmd.StdOut.Readall,"TTL=")
    Case 0 IsConnectible = False
    Case Else IsConnectible = True
  End Select
End Function
 
 
 
 
-----Original Message-----
From: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org] On Behalf Of Louie Meletlidis
Sent: Wednesday, April 05, 2006 2:05 PM
To: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Subject: RE: [Track-It_HelpDesk] Auditing & pulling Dell service tags ??

the one that goes to a csv would be nice also if u can share.
regards,
 
 

From: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org] On Behalf Of Marty Yantzie
Sent: Wednesday, April 05, 2006 2:47 PM
To: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Subject: RE: [Track-It_HelpDesk] Auditing & pulling Dell service tags ??

The asset id should be the Dell service if the service tag information is set in the bios.  If audit32 cannot read the service tag info it will set the asset id the same as the TrackIT asset number.  You need to make sure that the service tag is actually readable.  I have attached a script that you can run on a remote computer to see if the service tag information is there.  I also have a version that will check multiple computers and output to a csv file.
 
 
' Script to return asset tag from computers.
 
strComputer = InputBox("Enter computer name or ip address", _
 "Enter computer name", "WS-")
If (IsNull(strComputer)) Or (strComputer = "") Then
 MsgBox "Please computer name or ip address you wish to scan."
 ExitScript
End If
 
'On Error Resume Next
if (IsConnectible(strComputer, "", "") OR (strComputer = ".")) Then
 Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
 Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystemProduct", "WQL", wbemFlagReturnImmediately + wbemFlagForwardOnly)
 For each objItem in colItems
  MSGBox ( objItem.IdentifyingNumber )
 Next
 Set objItem = nothing
 Set objWMIService = nothing
else
  MSGBox ( "Not Reachable" )
end if
Set strComputer = nothing
 
Function IsConnectible(sHost,iPings,iTO)
 If iPings = "" Then iPings = 2
 If iTO = "" Then iTO = 750
  Set oShell = CreateObject("WScript.Shell")
  Set oExCmd = oShell.Exec("ping -n " & iPings _
   & " -w " & iTO & " " & sHost)
  Select Case InStr(oExCmd.StdOut.Readall,"TTL=")
    Case 0 IsConnectible = False
    Case Else IsConnectible = True
  End Select
End Function
 
Private Sub ExitScript()
 WScript.Quit
End Sub
 
 
Marty
-----Original Message-----
From: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org] On Behalf Of Louie Meletlidis
Sent: Wednesday, April 05, 2006 1:40 PM
To: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Subject: [Track-It_HelpDesk] Auditing & pulling Dell service tags ??

All,
 
anyone have a procedure where we can associate/view the inventoried new pc from the dell service tag
to the asset id ??
 
i did a few but it shows as asset id 425
 
thanks
 
Lou


SPONSORED LINKS
Program management software Affiliate program software Scheduling program software
Construction software program Payroll software program Email software program

YAHOO! GROUPS LINKS


Louie Meletlidis | 5 Apr 2006 21:58

How to sync Department name to User Defined Department

sorry gang, me again.........
 
i tried to run report Workstation by Department Graph
but the User Defined(where i assume the department is pulling from is all blank)
bu the Department under the General tab for User Information is all correct(i assumed it would pull dept from here)
 
anyway to sync these ?
 
 
thanks
 


SPONSORED LINKS
Program management software Affiliate program software Scheduling program software
Construction software program Payroll software program Email software program

YAHOO! GROUPS LINKS


Louie Meletlidis | 5 Apr 2006 22:33

RE: Auditing & pulling Dell service tags ??

Gr8 Thanks !!!

From: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org] On Behalf Of Marty Yantzie
Sent: Wednesday, April 05, 2006 3:21 PM
To: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Subject: RE: [Track-It_HelpDesk] Auditing & pulling Dell service tags ??

Here is the csv version.  Make sure to read the comments to make in work for you.  I am not much of a scriptor, but it works!
 
 
A simple script to return asset tag from all computers in active directory domain
' The output is exported to a comma serparated file with the name "service-tags.csv"
' Do not open the csv file until the vbscript is done.  You can make a copy of the file while
' the script is running and open the copy to see the results.  I may work on making the script
' acutally export to an XLS file that can be viewed as the script is running
' Marty Yantzie - 9JUN2005 - myyaz33-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
 
' you need to edit the local_domain variable to what ever your domain is
' you can limit the search to a specific OU by using the example directly below
'local_domain = LDAP://OU=Finance Computers,DC=yourdomain,DC=com

 
  Const wbemFlagReturnImmediately = &h10
  Const wbemFlagForwardOnly = &h20
  Const ADS_SCOPE_SUBTREE = 2
  Set objConnection = CreateObject("ADODB.Connection")
  Set objCommand =   CreateObject("ADODB.Command")
  objConnection.Provider = "ADsDSOObject"
  objConnection.Open "Active Directory Provider"
  Set objCOmmand.ActiveConnection = objConnection
  objCommand.CommandText = "Select Name, Location from '" & local_domain & "' Where objectClass='computer'" 
  objCommand.Properties("Page Size") = 1000
  objCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE
  objCommand.Properties("Sort On") = "name"
  Set fso = CreateObject("Scripting.FileSystemObject")
  Set MyFile = fso.CreateTextFile("service-tags.csv", True)
  MyFile.Writeline ("Report started " & Now())
  MyFile.Writeline ("Computer,Serial,Name,Vendor,Status") 
  Set objRecordSet = objCommand.Execute
  objRecordSet.MoveFirst
  Do Until objRecordSet.EOF
    On Error Resume Next
    strComputer = objRecordSet.Fields("Name").Value
 if (IsConnectible(strComputer, "", "") OR (strComputer = ".")) Then
        Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
  Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystemProduct", "WQL", wbemFlagReturnImmediately + wbemFlagForwardOnly)
  For each objItem in colItems
   MyFile.Writeline ( strComputer & "," & objItem.IdentifyingNumber & "," & objItem.Name & "," & objItem.Vendor & ",Reachable")
  Next
  Set objItem = nothing
  Set objWMIService = nothing
 else
      MyFile.Writeline ( strComputer & ",,,,Unreachable")
    end if
    Set strComputer = nothing
    objRecordSet.MoveNext
  Loop
  MyFile.Writeline ("Report Ended " & Now())
  MyFile.Close
  MsgBox ("DONE")
 
Function IsConnectible(sHost,iPings,iTO)
 If iPings = "" Then iPings = 2
 If iTO = "" Then iTO = 750
  Set oShell = CreateObject("WScript.Shell")
  Set oExCmd = oShell.Exec("ping -n " & iPings _
   & " -w " & iTO & " " & sHost)
  Select Case InStr(oExCmd.StdOut.Readall,"TTL=")
    Case 0 IsConnectible = False
    Case Else IsConnectible = True
  End Select
End Function
 
 
 
 
-----Original Message-----
From: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org] On Behalf Of Louie Meletlidis
Sent: Wednesday, April 05, 2006 2:05 PM
To: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Subject: RE: [Track-It_HelpDesk] Auditing & pulling Dell service tags ??

the one that goes to a csv would be nice also if u can share.
regards,
 
 

From: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org] On Behalf Of Marty Yantzie
Sent: Wednesday, April 05, 2006 2:47 PM
To: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Subject: RE: [Track-It_HelpDesk] Auditing & pulling Dell service tags ??

The asset id should be the Dell service if the service tag information is set in the bios.  If audit32 cannot read the service tag info it will set the asset id the same as the TrackIT asset number.  You need to make sure that the service tag is actually readable.  I have attached a script that you can run on a remote computer to see if the service tag information is there.  I also have a version that will check multiple computers and output to a csv file.
 
 
' Script to return asset tag from computers.
 
strComputer = InputBox("Enter computer name or ip address", _
 "Enter computer name", "WS-")
If (IsNull(strComputer)) Or (strComputer = "") Then
 MsgBox "Please computer name or ip address you wish to scan."
 ExitScript
End If
 
'On Error Resume Next
if (IsConnectible(strComputer, "", "") OR (strComputer = ".")) Then
 Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
 Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystemProduct", "WQL", wbemFlagReturnImmediately + wbemFlagForwardOnly)
 For each objItem in colItems
  MSGBox ( objItem.IdentifyingNumber )
 Next
 Set objItem = nothing
 Set objWMIService = nothing
else
  MSGBox ( "Not Reachable" )
end if
Set strComputer = nothing
 
Function IsConnectible(sHost,iPings,iTO)
 If iPings = "" Then iPings = 2
 If iTO = "" Then iTO = 750
  Set oShell = CreateObject("WScript.Shell")
  Set oExCmd = oShell.Exec("ping -n " & iPings _
   & " -w " & iTO & " " & sHost)
  Select Case InStr(oExCmd.StdOut.Readall,"TTL=")
    Case 0 IsConnectible = False
    Case Else IsConnectible = True
  End Select
End Function
 
Private Sub ExitScript()
 WScript.Quit
End Sub
 
 
Marty
-----Original Message-----
From: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org] On Behalf Of Louie Meletlidis
Sent: Wednesday, April 05, 2006 1:40 PM
To: Track-It_HelpDesk-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Subject: [Track-It_HelpDesk] Auditing & pulling Dell service tags ??

All,
 
anyone have a procedure where we can associate/view the inventoried new pc from the dell service tag
to the asset id ??
 
i did a few but it shows as asset id 425
 
thanks
 
Lou

YAHOO! GROUPS LINKS


mechanic_e | 6 Apr 2006 05:29
Picon

Re: Inventory Problem

In version 5.0 you have to delete it from "Deleted Items" as well.  
Right-Click in below your line items, select "Deleted Items", select 
that item and delete from there as well...

--- In Track-It_HelpDesk@..., "Marty Yantzie" 
<Marty.Yantzie <at> ...> wrote:
>
> Did you check the deleted items under the unassigned equipment?
> 
> Marty Yantzie
> 
> -----Original Message-----
> From: Track-It_HelpDesk@...
> [mailto:Track-It_HelpDesk@...] On Behalf Of srfougere
> Sent: Tuesday, March 28, 2006 8:52 AM
> To: Track-It_HelpDesk@...
> Subject: [Track-It_HelpDesk] Inventory Problem
> 
> 
> Hi Folks,
> 
> I'm having a problem with my Inventory module.  I am trying to add a
> serial number to one of my computers.  The serial number is being 
added
> under the General tab under Product.  When I try to add the serial
> number it says that the serial is already assigned to something in 
the
> Unassigned Equipment section.  I've been through there a dozen 
times now
> looking for the object without success.
> 
> Does anyone know where the Serial Number is stored in database?
> 
> Thanks in advance,
> Sheldon
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
>

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Track-It_HelpDesk/

<*> To unsubscribe from this group, send an email to:
    Track-It_HelpDesk-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Gmane