cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
acooney
Engaged Sweeper II
I've been asked to find a way to integrate some AD actions into Lansweeper.

Some examples would be:

Adding a user to a group
Adding a computer to a group
Disabling a user account
Moving a user account
Moving a computer account
Deleting a user account (I'm leery of implementing this one)
Deleting a computer account


I didn't see any pre-made actions and scripts for this, but did I miss one? If not, does anyone have one? Do these actions need to be in VBS, or will can we code them in Powershell (I have two guys who are great with Powershell, and only one guy who is OK with VBS). If we do code them in Powershell, what would we need to know about formatting to make them work with Lansweeper?
1 REPLY 1
i_kulgu
Champion Sweeper
You can achieve this with powershell scripting.
Just pass the info needed from Lansweeper to powershell like {smartname} or {username} and create an action like:

powershell -noprofile -ExecutionPolicy bypass -command {actionpath}UserToGroup.ps1 -username {username}