Hello, can i use your script for my school test on active directory (i'm actually not cheating we are allowed to use scipt). Thanks for this video u helped me a lot !
Thank you so much ....I have question about adding PowerShell script code to existing code to enforce user change the password once he login at first time. Could you please help me?
Hi Brother after i run the script it is asking as “supply values for the following parameters Name :” It is asking like above.Please check and help me on it
PowerShell script and the details shared on Google Drive "PowerShell Script to add/modify Employee ID Attribute in AD" drive.google.com/drive/folders/1mVA-wxzaCDyt8nppYfMIeAW7kHkhm7AK?usp=sharing
i am facing the issue after run the script, why its coming ... Get-ADUser : Variable: 'Username' found in expression: $Username is not defined. At line:31 char:6 + if (Get-ADUser -F {SamAccountName -eq $Username}) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Get-ADUser], ArgumentException + FullyQualifiedErrorId : ActiveDirectoryCmdlet:System.ArgumentException,Microsoft.ActiveDirectory.Management.Commands.GetADUser
I think the issue is with the CSV file contents you have provided...Download the CSV file and replace the data with your data, run the script again, it has to work...