I have a form used to create new user accounts (the idea was to make the creation process standard rather than the wild west we had before). This is working fine and does what I need. However, we have now discovered accounts are being added to groups they should not be added to. I have comboboxes listing security groups which the tech can select from, I want to add a confirmation challenge to make them confirm the groups selected are correct. Part of this is to try to stop the errant group memberships but also to introduce accountability.
I can't see any options in Powershell Studio for this, is it something I have to add in the script that runs when the create button is pressed or am I missing something?
Confirmation challenge
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Confirmation challenge
I use an old com object to display popups:
Google that and you will get the object use.
Code: Select all
$wshell = New-Object -ComObject Wscript.Shell
$wshell.Popup($Message, $Time, $Title, $ButtonValue + $iconValue)
- apowershelluser
- Posts: 207
- Last visit: Thu Oct 10, 2024 1:55 pm