Forum Discussion
Lewis_Beard
Expert
3 years agoThanks for the responses, yall. Once I knew I could do the .to_dict() everything else was easy.
Well, it was a little weird interacting with the system properties because I had to pull that out and iterate through all the name/value pairs and build my own sub-dictionary.
But it all worked out. Thanks.
In case anyone was interested in the general thing I was trying to do, I needed to know what some attributes were on some items that came back in the affected_items.csv on an AppliesTo. So I wrote a script to make a call to each device in the affected_items.csv and then make my own csv that has all the staticgroups so I could analyze those.
Thanks everyone!
Related Content
- 2 years ago