$fnames = @( ‘Joern’ ‘Manfred’ ) $lnames = @( ‘Walter’ ‘Papst’ ) $secpass = Read-Host -Prompt ‘Password’ -AsSecureString $ou = “OU=User Accounts,OU=User,OU=ORG,DC=ndsedv,DC=de” foreach ($fname in
WeiterlesenSchlagwort: SAM
Powershell AD – SamAccountName ändern
Get-ADUser -Identity ‘Test3’ | Set-ADUser -SamAccountName ‘3Test’ -Passthru
Weiterlesen