Now i get an idea what you are planning to do ;-)
First of all you need to create the new classes for your assets.
More details for this you will find here: https://learn.microsoft.com/en-us/system-center/scsm/auth-classes?view=sc-sm-2019
To get the data in SCSM from SQL you have 2 options in my opinion:
- Exporting the data from SQL in CSV and import the CSV in SCSM (import can be done with PowerShell) - https://learn.microsoft.com/en-us/system-center/scsm/import-data-csv?view=sc-sm-2019
- Using a PowerShell script to query the data from SQL DB and import in SCSM (Create/update SCSM objects)
The first option is easier.
The second option offers the opportunity to use some more complex "import logic".
Both options you could schedule with:
- The Task Scheduler of the OS using PowerShell scripts.
- Use a SCSM internal workflow with a schedule
How to create a scheduled workflow in SCSM is described here: http://www.scsm.se/?p=239
Instead of the PowerShell script to create a CR you could use any PowerShell script for "CSV import" or "query SQL and import in SCSM"
To keep it simple I would prefer the Task Scheduler for the import job via PowerShell.
If I am using PowerShell to get things done in SCSM I prefer the SMlets (SCSM PowerShell Cmdlets)
https://github.com/SMLets/SMLets
Hope this helps.
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten