Created
November 28, 2017 08:30
-
-
Save phaniav/5b8e7b6698de48c6a3ae20a15a2b1db7 to your computer and use it in GitHub Desktop.
Installation Script for Sitecore 9 XP1 (XP Scaled) on Azure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Parameters | |
| $SCARMTemplate = 'https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/Sitecore%209.0.0/XP/azuredeploy.json' | |
| $Deploymentid = "scninecloud" #this will be the name of resoure group | |
| $LicenseFile = "D:\projects\sitecore\license.xml" | |
| $CertificateFile = 'D:\projects\sitecore\1A5A5EEF9F9237471DAF3A464457BC9A18D5EAC3.pfx' | |
| $SubscriptionId = "cf764d1e-ba89-405d-9712-4b69a34bb353" | |
| $Location = "eastus" | |
| $ParamFile = "D:\Projects\Sitecore\sc9Cloud\Sitecore-Azure-Quickstart-Templates-2.0\Sitecore 9.0.0\XP\azuredeploy.parameters.json" | |
| $Parameters = @{ | |
| "authCertificateBlob" = [system.convert]:: ToBase64String([system.IO.File]::ReadAllBytes($certificatefile)); | |
| "deploymentId" = $Deploymentid | |
| } | |
| ## Installation | |
| Start-SitecoreAzureDeployment -Name $DeploymentId ` | |
| -ArmTemplateUrl $SCARMTemplate ` | |
| -ArmParametersPath $ParamFile ` | |
| -LicensexmlPath $LicenseFile ` | |
| -Setkeyvalue $Parameters ` | |
| -Location $Location -Verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment