cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to add a user to a spesific provisioning group with a script?

matshako
Level 2

Is it possible to add a user to a spesific provisioning group(and thus also enabling) with a script?

When users quit we put them in a spesific provisioning group to store all their emails in the Vault before we close their user. We have a vbscript to do all the ad/exchange-tasks, but would really like a script putting the user in the provisioning group as well. We have to automatic enabling when adding to prov-group on.

What possibilities do we have?

With our existing vbscript we enter the whole name of the user, let's say John Smith. It would be great if also the Vault-script could use the same input. Is that a possibility?

I tried get-command in the Vault management shell, but couldn't find any commands regarding provisioning groups?

Does anyone know of any solution for this?

Ps. We are on a Windows envirnment (active directory, exchange, 2008 server R2).

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

JesusWept3
Level 6
Partner Accredited Certified
Easiest way to do it is to just provision based on a DL or OU or distribution group, then you can add the users via vbscript or powershell to add them to a DL and that way they will get provisioned based on their ad attributes And then you could have an enablement EVPM script that enables all users in that DL and have it scheduled to run via windows scheduler an hour or so after the provisioning task runs
https://www.linkedin.com/in/alex-allen-turl-07370146

View solution in original post

2 REPLIES 2

JesusWept3
Level 6
Partner Accredited Certified
Easiest way to do it is to just provision based on a DL or OU or distribution group, then you can add the users via vbscript or powershell to add them to a DL and that way they will get provisioned based on their ad attributes And then you could have an enablement EVPM script that enables all users in that DL and have it scheduled to run via windows scheduler an hour or so after the provisioning task runs
https://www.linkedin.com/in/alex-allen-turl-07370146

matshako
Level 2

Thanks for the reply. It solved our problem. Made a new group in AD for users that quit and edited the script to put users here. Then made this group a part of the provisioning group. Voila!

Thanks!