I am trying to create PowerShell script that allows me to input the username and or group name and send it to our server for permissions.
Is there a way to prompt with just a text box of those 2 fields instead of inserting the names into the script each time?
$group = [ADSI]"WinNT://win2016-sfd-02/GROUP_NAME,group"
$group.Add("WinNT://win2016-sfd-02/DOMAIN/USER_NAME,user")