Adding user to groups using powershell from csv file. My script is running but users doesn't added to the group

前端 未结 0 844
不知归路
不知归路 2021-01-22 03:11

Import-Module ActiveDirectory

$file = Import-Csv "C:\\Users\\Administrator\\Documents\\for_userso.csv"

foreach($i in $file) {

$usr= "         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题