Exporting and Importing Server Groups (Smart and Static)

Version 1

    A while ago, Gerardo wrote something to export Smart Server Groups: https://communities.bmc.com/docs/DOC-8510


    One customer of mine came with a similar requirement, but they also wanted to be able to Export/Import Static Server Groups. Part or these groups can be recreated with the Smart Group utility (if these Static Groups are part of the folder hierarchy that is being currently exported) but those that don't have SmartGroups as leaves and those that are populated with Servers aren't handled.


    Therefore, I reused Gerardo's scripts and wrote the attached evolution.