Welcome to the community forums for Theopenem. All responses are provided by other users that wish to help out. Theopenem will not respond to these posts. If you require more assistance than what the community can provide, we offer various paid support options.

  • 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.

  • Is there anyone who can help me?

  • @maxmar69 Hi,
    Your script module you can use as many times as you want in policies.
    For example you can make a policy for Firefox with your script module, another one for Chrome with your script module.