Hello,
Is there any way to get the list of Protocol not in use from System Center - clean up unused?
Thanks
Miguel Obregon [SLC] [DevOps Catalyst] Answered question 13th August 2024
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.
Miguel Obregon [SLC] [DevOps Catalyst] Answered question 13th August 2024
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!