文件服务之powershell应用

#批量建立用户账号$password = convertto-securestring -String “123456” -AsPlainText –ForceImport-Csv c:\user.csv | %{New-ADUser -Name $_.name -SamAccountName $_.SamAccountName -Department $_.department -Title $