MDT Dienstkonten erstellen
MDT_BA

contoso.int mit den dazugehörigen Dienstkonten MDT_BA und MDT_JD.
Quelle: Deployment Guide - Alexander ScharmerMDT_JD
Erstellen der Dienstkonten
Zuletzt aktualisiert

contoso.int mit den dazugehörigen Dienstkonten MDT_BA und MDT_JD.
Quelle: Deployment Guide - Alexander ScharmerZuletzt aktualisiert
$Pass = ConvertTo-SecureString "Password1!" -AsPlainText -Force
New-ADUser -Name MDT_BA -UserPrincipalName MDT_BA `
-Description "MDT Build Account" `
-AccountPassword $Pass `
-ChangePasswordAtLogon $false `
-Enabled $true `
-Path "OU=Dienstkonten,OU=Hauptquartier,OU=Wien,OU=Contoso,DC=contoso,DC=int" `
# -Path "OU=Dienstkonten,OU=Konten,OU=Contoso,DC=contoso,DC=int" `
-CannotChangePassword $true `
-PasswordNeverExpires $true
New-ADUser -Name MDT_JD -UserPrincipalName MDT_JD `
-Description "MDT Join Domain Account" `
-AccountPassword $Pass `
-ChangePasswordAtLogon $false `
-Enabled $true `
-Path "OU=Dienstkonten,OU=Hauptquartier,OU=Wien,OU=Contoso,DC=contoso,DC=int" `
# -Path "OU=Dienstkonten,OU=Konten,OU=Contoso,DC=contoso,DC=int" `
-CannotChangePassword $true `
-PasswordNeverExpires $true