Enterprise Groups exporting members

Looking for a way to export the machines that are in my enterprise groups dynamically and be able to use them to create collections in SCCM. If I could create a standard group in SCOM we could probably find a way to leverage that. The idea is to be able to plan patching and software upgrades/installs based off of the servers used for applications.

This may do what you are looking for.

 

https://www.avianwaves.com/Blog/ArticleID/200/enumerating-nested-group-members-in-system-center-operations-manager-groups-with-powershell