From fe74081dc450b7b9608821df34021f345232d8cc Mon Sep 17 00:00:00 2001 From: Dany Contreras <78437433+danycontre@users.noreply.github.com> Date: Fri, 3 Nov 2023 15:39:59 -0500 Subject: [PATCH] updates --- workload/bicep/deploy-baseline.bicep | 4 ++-- workload/scripts/DSCStorageScripts.zip | Bin 82684 -> 82688 bytes .../DSCStorageScripts/Configuration.ps1 | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/workload/bicep/deploy-baseline.bicep b/workload/bicep/deploy-baseline.bicep index c3e154508..8a7d8ad95 100644 --- a/workload/bicep/deploy-baseline.bicep +++ b/workload/bicep/deploy-baseline.bicep @@ -537,7 +537,7 @@ var varZtKvName = avdUseCustomNaming ? '${ztKvPrefixCustomName}-${varComputeStor var varZtKvPrivateEndpointName = 'pe-${varZtKvName}-vault' // var varFslogixSharePath = '\\\\${varFslogixStorageName}.file.${environment().suffixes.storage}\\${varFslogixFileShareName}' -var varBaseScriptUri = 'https://raw.githubusercontent.com/Azure/avdaccelerator/main/workload/' +var varBaseScriptUri = 'https://raw.githubusercontent.com/Azure/avdaccelerator/aad-fslogix/workload/' var varSessionHostConfigurationScriptUri = '${varBaseScriptUri}scripts/Set-SessionHostConfiguration.ps1' var varSessionHostConfigurationScript = './Set-SessionHostConfiguration.ps1' var varDiskEncryptionKeyExpirationInEpoch = dateTimeToEpoch(dateTimeAdd(time, 'P${string(diskEncryptionKeyExpirationInDays)}D')) @@ -753,7 +753,7 @@ var varMarketPlaceGalleryWindows = { version: 'latest' } } -var varStorageAzureFilesDscAgentPackageLocation = 'https://github.com/Azure/avdaccelerator/raw/main/workload/scripts/DSCStorageScripts.zip' +var varStorageAzureFilesDscAgentPackageLocation = 'https://github.com/Azure/avdaccelerator/raw/aad-fslogix/workload/scripts/DSCStorageScripts.zip' var varStorageToDomainScriptUri = '${varBaseScriptUri}scripts/Manual-DSC-Storage-Scripts.ps1' var varStorageToDomainScript = './Manual-DSC-Storage-Scripts.ps1' var varOuStgPath = !empty(storageOuPath) ? '"${storageOuPath}"' : '"${varDefaultStorageOuPath}"' diff --git a/workload/scripts/DSCStorageScripts.zip b/workload/scripts/DSCStorageScripts.zip index 11cc622ac72b8a693430158538db9520d8d4843e..b69ddf0d4d3cca3cef000a146cbe00ec950ebc9a 100644 GIT binary patch delta 1684 zcmV;F25b5Jg$00y1%R{xMKBHGd}CKGOjuk>1^@u>mr^hRCw~VhJ?u4Ih8lJfcxY`S za$5{tF(?vktCK~Sq>_4B|NHJlNv32)Tq+VrKFg6^e*-@~ z!F(2}zzyY~-8%aPfw!)3H|J${e%=~Q<=zsR6DVVh@Sc7hilMQPSU=&08 zZD#S@RqKWzCP|j5ox{X^;IX;j_W>khLukXlV!=iskNvCYJ`gflqT+$_Fm|cIzBHYqv&){-tZtuh3ksp_3(*uibjoI@7*^ ze;U2xREtlsx-LeA&G@fCjh@mV-$l2xD~yrIlzNH zRR>k*RZqn_(zEJtzt6=||7s4XqL(!XXzy#y;eXZjxMxQ_-tSQCT>sKP&&Xu61d}`#9vkR4^?P(Iz1wtw(6@;K3@w?6o2w;%6&#c?zth}()HZqK6T&VN+C&fh=eJG zlSi&t7I8z>!y9fRO~GpmL6 z*`SK)K`+~TMixw}R9eJvo|b`-iaDQk6T0>X1-F?c$2Rg$amUaj`wtbIq#jFVCFf!PQJ&#Gbgr2=CeYb=f@FN#wy0~`8mWfTEKVwR! z@GEDQ>}f7rGWOfyl;Q-~i zJqju_y>?l(7W@IIiEcDkUpAz6kdqC$VEfgpQp1iwv{#GV^7x z+EQ%lOP*1o_v0B#-t!hc!%A<>yg#wtK?gaxKwCf8|L{ zw&JL8#WMZBE93i0_WgDI#f#z;Tsz@H8b?EE+@&s!``BJQRR+HjX5ZES#025jY2bnX z<3&T_RDb{8>(aiUOma3X0|FK>Hnd*S4fWaT~Ypih(w%lnF-;x(}O!02G2P(ag zdUu|BXZfZLM9RD*jYnPOk}L>TR(l$sJh0$8(=zAva;DuNJ0JpF<0f7q*;(TLQE=*Wl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|CJ{d*^1+U zE0*d1T^Zk1vhT0suU-|W;3^20#5fvA>AqaT>KhZo-b15ir?1eb0?0UEc`HUVP`4QPR4S1ays j&qf9S0E3r8LIF?#u$PlU0XG5Hm&-x{F9zU20RR91sl_tB diff --git a/workload/scripts/DSCStorageScripts/Configuration.ps1 b/workload/scripts/DSCStorageScripts/Configuration.ps1 index 6d55845c2..bd2736f8a 100644 --- a/workload/scripts/DSCStorageScripts/Configuration.ps1 +++ b/workload/scripts/DSCStorageScripts/Configuration.ps1 @@ -138,8 +138,9 @@ Configuration DomainJoinFileShare # Import the module that contains the File resource. Import-DscResource -ModuleName PsDesiredStateConfiguration - #$secStringPassword = ConvertTo-SecureString $AdminUserPassword -AsPlainText -Force - $AdminCred = New-Object System.Management.Automation.PSCredential ($AdminUserName, $AdminUserPassword) # $secStringPassword) + $secStringPassword = ConvertTo-SecureString $AdminUserPassword -AsPlainText -Force + #$AdminCred = New-Object System.Management.Automation.PSCredential ($AdminUserName, $AdminUserPassword) # $secStringPassword) + $AdminCred = New-Object System.Management.Automation.PSCredential ($AdminUserName, $secStringPassword) $ErrorActionPreference = 'Stop'