diff --git a/AD 1.3.0/xm/README.md b/AD 1.3.0/xm/README.md index ab08e42e..1651aefe 100644 --- a/AD 1.3.0/xm/README.md +++ b/AD 1.3.0/xm/README.md @@ -24,7 +24,7 @@ In order to configure Sitecore deployment parameters to include Active Directory ```JSON { "name": "active-directory", - "templateLink": "https://raw.githubusercontent.com/Sitecore/sitecore-azure-quickstart-templates/master/ad%201.3.0/xm/azuredeploy.json", + "templateLink": "https://raw.githubusercontent.com/atp0303/Sitecore-Azure-Quickstart-Templates/master/AD%201.3.0/xm/azuredeploy.json", "parameters": { "adMsDeployPackageUrl" : "" } diff --git a/AD 1.3.0/xp/README.md b/AD 1.3.0/xp/README.md index d12df66d..af386507 100644 --- a/AD 1.3.0/xp/README.md +++ b/AD 1.3.0/xp/README.md @@ -24,7 +24,7 @@ In order to configure Sitecore deployment parameters to include Active Directory ```JSON { "name": "active-directory", - "templateLink": "https://raw.githubusercontent.com/Sitecore/sitecore-azure-quickstart-templates/master/ad%201.3.0/xp/azuredeploy.json", + "templateLink": "https://raw.githubusercontent.com/atp0303/Sitecore-Azure-Quickstart-Templates/master/AD%201.3.0/xp/azuredeploy.json", "parameters": { "adMsDeployPackageUrl" : "" } diff --git a/AD 1.3.0/xp0/README.md b/AD 1.3.0/xp0/README.md index 799ec7fa..f0ee39c2 100644 --- a/AD 1.3.0/xp0/README.md +++ b/AD 1.3.0/xp0/README.md @@ -24,7 +24,7 @@ In order to configure Sitecore deployment parameters to include Active Directory ```JSON { "name": "active-directory", - "templateLink": "https://raw.githubusercontent.com/Sitecore/sitecore-azure-quickstart-templates/master/ad%201.3.0/xp0/azuredeploy.json", + "templateLink": "https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/AD%201.3.0/xp0/azuredeploy.json", "parameters": { "adMsDeployPackageUrl" : "" } diff --git a/README.md b/README.md index 3058f3bc..afa6c49a 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,9 @@ Below is a sample PowerShell script that can help you to get up and running quic ```PowerShell $ArmTemplateUrl = "AZUREDEPLOY_JSON_URL"; -$ArmParametersPath = ".\xp\azuredeploy.parameters.json"; # read the contents of your Sitecore license file -$licenseFileContent = Get-Content -Raw -Encoding UTF8 -Path ".\license.xml" | Out-String; +$licenseFileContent = Get-Content ((Read-Host "Enter Sitecore license path") -replace '"') -Raw -Encoding UTF8 | Out-String $Name = "RESOURCE_GROUP_NAME"; $location = "AZURE_DATA_CENTER_NAME"; $AzureSubscriptionId = "AZURE_SUBSCRIPTION_ID"; @@ -37,11 +36,11 @@ $AzureSubscriptionId = "AZURE_SUBSCRIPTION_ID"; # license file needs to be secure string and adding the params as a hashtable is the only way to do it $additionalParams = New-Object -TypeName Hashtable; -$params = Get-Content $ArmParametersPath -Raw | ConvertFrom-Json; +$params = Get-Content ((Read-Host "Enter Azure Parameters File") -replace '"') -Raw | ConvertFrom-Json; -foreach($p in $params | Get-Member -MemberType *Property) +foreach($p in $params.parameters | Get-Member -MemberType *Property) { - $additionalParams.Add($p.Name, $params.$($p.Name).value); + $additionalParams.Add($p.Name, $params.parameters.$($p.Name).value); } $additionalParams.Set_Item('licenseXml', $licenseFileContent);