Performing Bulk User File Operation with Windows Server 2016 Powershell HD

14.01.2017
This Video show on how to Performing BulkUser File Operation with Windows Server 2016 Powershell Copy the script import-csv -path d:ulkuserUserlist.csv | foreach { $givenName = $_.name.split()[0] $surname = $_.name.split()[1] new-aduser -name $_.name -enabled $true –givenName $givenName –surname $surname -accountpassword (convertto-securestring $_.password -asplaintext -force) -changepasswordatlogon $true -samaccountname $_.samaccountname –userprincipalname ($_.samaccountname+”@win.osi.local”) -city $_.city -department $_.department }

Похожие видео

Показать еще