Quantcast
Channel: Spiceworks Community
Viewing all articles
Browse latest Browse all 6732

VPN Access Script

$
0
0

What I am trying to do is simplify the process of granting users VPN access. I don't have the ability to use Powershell (Wish I did). Understandably everything that needs to be done can be done in the AD GUI. But I would like to put together a short script to add a requested user to two AD groups and enable the Remote Access Permission (Dial-in or VPN) Allow Access (msNPAllowDialin) attribute.

I know how to get the groups added using the "net group [[ ...] {/add | /delete} [/domain]]" command. And I can put together a message box that I can input the user I want into, I really just need the part to enable the allow access option.

Also, I have set this into the AD group because I did not see a scripting group outside of Powershell. If this should be in another group, please move it.


Viewing all articles
Browse latest Browse all 6732

Trending Articles



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