diff --git a/workload/scripts/DSCStorageScripts-v2.zip b/workload/scripts/DSCStorageScripts-v2.zip new file mode 100644 index 000000000..38b8b3c14 Binary files /dev/null and b/workload/scripts/DSCStorageScripts-v2.zip differ diff --git a/workload/scripts/DSCStorageScripts.zip b/workload/scripts/DSCStorageScripts.zip index 38b8b3c14..a02aca446 100644 Binary files a/workload/scripts/DSCStorageScripts.zip and b/workload/scripts/DSCStorageScripts.zip differ diff --git a/workload/scripts/Manual-DSC-Storage-Scripts.ps1 b/workload/scripts/Manual-DSC-Storage-Scripts.ps1 index 0184169c5..c372144e1 100644 --- a/workload/scripts/Manual-DSC-Storage-Scripts.ps1 +++ b/workload/scripts/Manual-DSC-Storage-Scripts.ps1 @@ -19,9 +19,9 @@ param ( [ValidateNotNullOrEmpty()] [string] $ClientId, - [Parameter(Mandatory = $true)] + [Parameter(Mandatory = $false)] [ValidateNotNullOrEmpty()] - [String]$SecurityPrincipalNames, + [String]$SecurityPrincipalName, [Parameter(Mandatory = $true)] [ValidateNotNullOrEmpty()] @@ -85,7 +85,7 @@ Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force Install-Module 'PSDscResources' -Force -$DscCompileCommand="./Configuration.ps1 -StorageAccountName " + $StorageAccountName + " -StorageAccountRG " + $StorageAccountRG+ " -StoragePurpose " + $StoragePurpose +" -ShareName " + $ShareName + " -SubscriptionId " + $SubscriptionId + " -ClientId " + $ClientId + " -SecurityPrincipalNames " + $SecurityPrincipalNames + " -DomainName " + $DomainName + " -IdentityServiceProvider " + $IdentityServiceProvider + " -AzureCloudEnvironment " + $AzureCloudEnvironment + " -CustomOuPath " + $CustomOuPath + " -OUName """ + $OUName + """ -CreateNewOU " + $CreateNewOU + " -DomainAdminUserName " + $DomainAdminUserName + " -DomainAdminUserPassword " + $DomainAdminUserPassword + " -Verbose" +$DscCompileCommand="./Configuration.ps1 -StorageAccountName " + $StorageAccountName + " -StorageAccountRG " + $StorageAccountRG+ " -StoragePurpose " + $StoragePurpose +" -ShareName " + $ShareName + " -SubscriptionId " + $SubscriptionId + " -ClientId " + $ClientId + " -SecurityPrincipalName " + $SecurityPrincipalName + " -DomainName " + $DomainName + " -IdentityServiceProvider " + $IdentityServiceProvider + " -AzureCloudEnvironment " + $AzureCloudEnvironment + " -CustomOuPath " + $CustomOuPath + " -OUName """ + $OUName + """ -CreateNewOU " + $CreateNewOU + " -DomainAdminUserName " + $DomainAdminUserName + " -DomainAdminUserPassword " + $DomainAdminUserPassword + " -Verbose" Write-Host "Executing the commmand $DscCompileCommand" Invoke-Expression -Command $DscCompileCommand