[AZURE/POWERSHELL] New-AzureADUser 명령을 사용해 Azure Acitve Directory 사용자 추가하기
Azure/PowerShell 2019. 3. 23. 16:19728x90
반응형
728x170
$PasswordProfile = New-Object -TypeName Microsoft.Open.AzureAD.Model.PasswordProfile
$PasswordProfile.Password = "P@ssw0rd1234"
New-AzureADUser -AccountEnabled $True `
-DisplayName "testuser" `
-PasswordProfile $PasswordProfile `
-MailNickName "testuser" `
-UserPrincipalName testuser@texture2dhotmail.onmicrosoft.com
※ "P@ssw0rd1234" : 패스워드
"testuser" : 표시명
"testuser" : 메일 별칭
testuser@texture2dhotmail.onmicrosoft.com : 사용자 계정
728x90
반응형
그리드형(광고전용)
댓글을 달아 주세요