Quantcast
Channel: Symantec Connect - Endpoint Management - Discussions
Viewing all articles
Browse latest Browse all 2356

Create a filter with powershell?

$
0
0
I need a solution

Hello everyone. I'm new to CMS and trying to figure out how to create a dynamic filter with powershell. I may be going at this the wrong way and any feedback would really be appreciated.

The company I work for would like to deploy software to departments not based on AD OU but instead a hierarchical listing. I have a manager name and have run a powershell script that will output the names of all employees that fall under my target manager. The script works great however I would like to know if it is possible to create a filter off of the results.

I understand how to create a filter with a list of names but this list must be dynamic. The list must change when an employee joins or leaves which means the powershell script must run at least once a day and the results must update the filter. I would then use the filter to push software to the correct group.

Is it possible to create a dynamic filter based off a powershell script that will run daily? If so, how would you set it up?

Any help would be greatly appreciated. Thanks in advance!

0

Viewing all articles
Browse latest Browse all 2356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>