In our “HOW TO Series” we want to show you, how to use a PowerShell Script to Self Service your IT with au2mator. In this Article, we will demonstrate how easy it is, to use PowerShell and au2mator to “Add an User to a Group”.
Our Service should provide a User Selection and a Group Selection, the PowerShell Script will add the Active Directory User in this AD Group.
At the beginning, and very important, the Input Paramaters. beside our “Built in Parameters” we have to add one for the selected User, one for the Group and a Comment.
#region InputParamaters ##Question in au2mator param ( [parameter(Mandatory = $true)] [String]$c_User, [parameter(Mandatory = $true)] [String]$c_Group, [paramet