
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2018 02:55 PM - last edited on ‎04-01-2024 04:46 PM by Mercedes_O
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?
- Labels:
-
API & Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2018 11:55 AM
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}
