Creating multiple / bulk users in "Active Directory" using CSV file & PowerShell

Поделиться
HTML-код
  • Опубликовано: 6 янв 2025

Комментарии • 29

  • @farziengineer-hx4rd
    @farziengineer-hx4rd 10 месяцев назад

    Underrated video.I usually don't comment on youtube video but yours is so simply explained. Thank you!

    • @dctechnet
      @dctechnet  10 месяцев назад

      Thanks for the comment, it motivates us...

  • @MrRoonie777
    @MrRoonie777 2 месяца назад

    This file actually works, i had to change the Domain to my own as well as match up the OU as well. Great job!

  • @vydehietta680
    @vydehietta680 11 месяцев назад

    This video was very helpful...nice explanation and thanks for attaching scripts. It executed without error.

    • @dctechnet
      @dctechnet  11 месяцев назад

      Glad to hear that

  • @CharlesMirco
    @CharlesMirco Месяц назад

    Nice vid💯

  • @kei-floboy
    @kei-floboy 28 дней назад

    hello, your video is helpful and easy to understand but i encounter some issue. There is no error occurring when running the code but it is showing this below, how to fix this ? thanks
    cmdlet New-ADUser at command pipeline position 1
    Supply values for the following parameters:
    Name:

    • @dctechnet
      @dctechnet  26 дней назад

      Please send a test email to dctechnet@outlook.com along with the CSV file and your script

  • @prashanthshanmugam5574
    @prashanthshanmugam5574 7 месяцев назад

    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

    • @dctechnet
      @dctechnet  7 месяцев назад

      Please use the same CSV file, remove the data and add your own data. Secondly please share the exact error message.

  • @munaalhatimi3431
    @munaalhatimi3431 6 месяцев назад

    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?

    • @dctechnet
      @dctechnet  6 месяцев назад +1

      At the end of the script, please change ----- ChangePasswordAtLogon $False to $True

    • @munaalhatimi3431
      @munaalhatimi3431 6 месяцев назад

      @@dctechnet thanks alot

  • @ryancortes5211
    @ryancortes5211 8 месяцев назад

    Hi how import the employeeID inside the Attribute Editor? anybody? thanks

    • @dctechnet
      @dctechnet  8 месяцев назад

      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

    • @prashanthshanmugam5574
      @prashanthshanmugam5574 7 месяцев назад

      Thank you it helped for me as well..!!

  • @diegocortesrossi3985
    @diegocortesrossi3985 Год назад

    perfect!, thanks

  • @Trevorodunne
    @Trevorodunne 6 месяцев назад

    Thanks Perfect!.

    • @dctechnet
      @dctechnet  5 месяцев назад

      You're welcome!

  • @أكلاتلذيذه-ز7ت
    @أكلاتلذيذه-ز7ت Год назад

    Waaw...i will try it 2morrow at office....i need this in my work as many new stuff are joining us!😥😥😥

    • @dctechnet
      @dctechnet  Год назад

      All the best...Let me know if you face any challanges...

  • @jhedsaldavia5684
    @jhedsaldavia5684 2 месяца назад

    cmdlet New-ADUser at command pipeline position 1
    Supply values for the following parameters:
    Name: This is the error that I'm getting

    • @dctechnet
      @dctechnet  Месяц назад

      Please share the screenshot to dctechnet@outlook.com along with the script you are using and the .CSV file

  • @gaucho2383
    @gaucho2383 10 месяцев назад

    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 !

    • @dctechnet
      @dctechnet  10 месяцев назад

      Definitely.... It's for everyone....

  • @MHassani786
    @MHassani786 8 месяцев назад

    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

    • @dctechnet
      @dctechnet  7 месяцев назад +1

      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...

    • @MHassani786
      @MHassani786 7 месяцев назад

      I think , now I used solarwind tool