This commit is contained in:
samvdjagt 2020-08-12 18:46:15 -04:00 коммит произвёл GitHub
Родитель 800b616712
Коммит 49b6232523
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 32 добавлений и 6 удалений

Просмотреть файл

@ -1,13 +1,39 @@
<#
.DESCRIPTION
This script is ran by the main ARM template as a custom script extension on the domain controller vm to create an AD user group and an AD user (a test user for the WVD environment).
This user then gets synced to Azure Active Directory using the ADSync module.
.PARAMETER domainName
Name of the domain
.PARAMETER targetGroup
Name of the test user group to be created
.PARAMETER artifactsLocation
URL of the GitHub repository
.PARAMETER domainUsername
username of the domain join account
.PARAMETER domainPassword
password of the domain join account. Not stored in any logs.
.PARAMETER devOpsName
Name of the DevOps organization to generate the test user password
#>
[CmdletBinding(SupportsShouldProcess = $true)]
$ConfigurationFileName = "users.parameters.json"
# Parameters below are passed by the main ARM template
$domainName = $args[0] # Name of the domain
$targetGroup = $args[1] # Name of the test user group to be created
$artifactsLocation = $args[2] # URL of the GitHub repository
$domainUsername = $args[3] # username of the domain join account
$domainPassword = $args[4] # password of the domain join account. Not stored in any logs.
$devOpsName = $args[5] # Name of the DevOps organization to generate the test user password
$domainName = $args[0]
$targetGroup = $args[1]
$artifactsLocation = $args[2]
$domainUsername = $args[3]
$domainPassword = $args[4]
$devOpsName = $args[5]
#####################################
##########