Hello,
Is there any way to get the list of Protocol not in use from System Center - clean up unused?
Thanks
If I understand correctly you want to export the list of unused protocols to a file? This is not available out of the box but should be doable through an automation script.
Some things you might need:
- Sending an SLNetMessage
- new GetInfoMessage(InfoType.Protocols)
- A list of all elements in your system and their protocol name + version
- Iterations comparing the list of protocols to the list of elements and their protocols.
- Some extra filtering (there will be some special protocols in there that are inherent to DataMiner)
- Download button interactive automation script component
Note: sending SLNetMessages is at your own risk and these messages are subject to change at any point when you upgrade your system.
Hi Bruno,
Another way to get the same results is using the class library. For example, you could proceed as follows:
- Get all the protocols using GetProtocols. This method return a collection of IDmsProtocol objects
- Get all elements using GetElements. This method returns a collection of IDmsElement objects. Interestingly, one of the properties of the IDmsElement object is the protocol (returned as IDmsProtocol object)
I believe with these two data sources you can determine which protocols are not used.
Hope it helps.
Hello Miguel,
That is how I did it, but as mentioned, I was trying to find an easiest way (like a Skyline tool or eventually any option on Cube).
Thanks!
Hello Toon,
Thanks for your answer. I was looking for an easy (click and collect) solution.
I will go for the automation process.
Thanks