Housekeeping; Adding to documentation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-02-11 16:56:19 +01:00
parent 744734e76e
commit 221e17a4de
4 changed files with 59 additions and 15 deletions

View File

@ -27,7 +27,6 @@ If ($Parameter['deployment.type'] -eq 'secondary') {
$NewCimSessionSplat = @{
Credential = New-Object System.Management.Automation.PSCredential(
###! TODO: Replace this with code to automagically find required accountname (this hardcoded value might not be correct due to GPO's)
(Get-ADUser -Filter * | Where-Object {$_.SID -match '-500'}).SamAccountName,
(ConvertTo-SecureString $Parameter['addsconfig.administratorpw'] -AsPlainText -Force)
)