I'm creating a form to create a user with the fields in question, but at this point you're giving me the following error:
New-ADUser: The server is not available to process the request
At D: \ Scripts \ CreateUsersAD \ CreateUserAD_v2.ps1: 191 char: 5
+ New-ADUser $ name -OtherAttributes @ {
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: Not Specified: (CN = 8888, CN = User ... MIN-SAUDE, DC = PT: String) [New-ADUser], ADException
+ FullyQualifiedErrorId: The server is unavailable to process the request, Microsoft.ActiveDirectory.Management.Commands.NewADUser
Does anyone have any suggestions?