/build/static/layout/Breadcrumb_cap_w.png

Some more SQL Scripts.

Find certain departments using equipment. Change ^^ with department code.

Select
  ORG1.MACHINE.NAME,
  ORG1.USER.CUSTOM_2 As 'Dept', <--- Remember I use CUSTOM_2 for department mapping for ldap yours might be different.
  ORG1.ASSET_DATA_5.FIELD_10008 As 'Status',
  ORG1.USER.FULL_NAME,
  ORG1.USER.WORK_PHONE,
  ORG1.MACHINE.CS_MODEL,
  ORG1.MACHINE.IP,
  ORG1.MACHINE.LAST_SYNC,
  ORG1.MACHINE.NOTES,
  ORG1.MACHINE.OS_NAME
From
  ORG1.ASSET_DATA_5 Inner Join
  ORG1.MACHINE On ORG1.MACHINE.BIOS_SERIAL_NUMBER = ORG1.ASSET_DATA_5.FIELD_89
  Inner Join
  ORG1.USER On ORG1.USER.USER_NAME = ORG1.MACHINE.USER_NAME
Where
  ORG1.USER.CUSTOM_2 Like '%^^%' <--- Remember I use CUSTOM_2 for department mapping for ldap yours might be different.


Comments

This post is locked
 
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