View what Configuration Profiles and Policies are assigned to a Smart Group

walkeri3rd
New Contributor III

Is there a way to view what Configuration Profiles and Policies are assigned to a Smart Group. I am in the need to Clean up Configuration Profiles and Policies and I would like to know what will be affected to the removal of them. Would anyone have any input or direction to get this info?

Thanks

@walkeri3rd 

1 REPLY 1

sdagley
Esteemed Contributor II

@walkeri3rd This should do what you want: JamfProGroupsScoped 

Note that if you have nested Smart Groups this script will only report on the scope for the outermost Smart Group