A laptop is moving and is connected to different screen monitors. In AM Hardware Inventory only the latest connected monitor appear.
How to keep the history of all connected monitors ?
Client Automation - All Version
There is no history of monitors inventory.
But with a DMS script it is possible to create a txt file containing the history of connected monitors and generate a MIF file from this history to create an additional inventory
Example :
How to implement the script :
When AM Agent will be executed on the machine, the script is executed and the file C:\Program Files (x86)\CA\DSM\Agent\units\00000001\uam\Monitor.txt is created or updated with the current connected monitor.
Then the MIF file C:\Program Files (x86)\CA\DSM\Agent\units\00000001\uam\Monitor.MIF is generated
The script generate a log file monitor.log under C:\Program Files (x86)\CA\DSM\logs
Example :
-----------------------------------------------------------------
08/13/2024 15:53:46 - START C:\Program Files (x86)\CA\DSM\Agent\units\00000001\uam\UMSCR.SCR
08/13/2024 15:53:46 - Computer = <COMPUTERNAME>
08/13/2024 15:53:46 - User = <USERNAME>
08/13/2024 15:53:46 - Version = 1.0
08/13/2024 15:53:46 - ITCM Log Path = C:\Program Files (x86)\CA\DSM\logs\
08/13/2024 15:53:46 - UAM Agent Path = C:\Program Files (x86)\CA\DSM\Agent\units\00000001\uam
08/13/2024 15:53:46 - File C:\Program Files (x86)\CA\DSM\Agent\units\00000001\uam\Monitor.txt does not exist.
08/13/2024 15:53:46 - Found 1 monitor(s) in file C:\Program Files (x86)\CA\DSM\Agent\units\00000001\uam\IG40.INV
08/13/2024 15:53:46 - ---> Generic Non-PnP Monitor|(Standard monitor types)|N/A|2024-08-13
08/13/2024 15:53:46 - Add new monitor : Generic Non-PnP Monitor - (Standard monitor types) - N/A
08/13/2024 15:53:46 - New number of monitors in monitor.txt file = 1
08/13/2024 15:53:46 - ---> Generic Non-PnP Monitor|(Standard monitor types)|N/A|2024-08-13
08/13/2024 15:53:46 - Update file C:\Program Files (x86)\CA\DSM\Agent\units\00000001\uam\Monitor.txt
08/13/2024 15:53:46 - END C:\Program Files (x86)\CA\DSM\Agent\units\00000001\uam\UMSCR.SCR
----------------------------------------------------------------------