Is there anyone who can help me?
Best posts made by maxmar69
Latest posts made by maxmar69
-
Reuse of script modules
I have written a powershell script module to verify a computer's membership in an AD security group that I pass as an argument.
I use this script as a condition in the policy to install an msi package.
I need to configure several other similar policies to install other packages after verifying that the computer belongs to a particular security group.
I could just duplicate the script module with different names and it would work but I was wondering if there was a way to do it better and easier to manage?
Is it possible to call the same powershell source from different script modules?
Thank you. -
RE: Complementary Group
@theopenem_admin said in Complementary Group:
The best you could would be to manually create a powershell script that checks for group membership / firefox stat
Thank you for your reply !
Can the powershell script access the group information in TheOpenEm (where can I find an example ?) or do I have to go test the membership in LDAP-AD ? -
Complementary Group
I have a static group synchronized with LDAP called "FIREFOX" with which a policy for installing mozilla firefox is associated. I would like to create a dynamic group called NOFIREFOX that contains all pcs except those that are in the FIREFOX group.
This way I could associate the NOFIREFOX group with a new policy to do automatic uninstallation.
Unfortunately, I can write a dynamic query that returns all pc's that are in a group but not one that returns all pc's that are NOT in a group.
Do you have any suggestions and advice ?