use case 1 - for sitecore automation module
TRANSCRIPT
![Page 1: Use case 1 - for Sitecore Automation Module](https://reader033.vdocuments.mx/reader033/viewer/2022051521/587709641a28ab890e8b610f/html5/thumbnails/1.jpg)
@RobsonAutomatorhttps://bitbucket.org/sitecoreautomationteam/sitecore-automation/wiki/Home
HOW TO ADD PLENTY IIS BINDINGS & HOSTS ENTRIES IN SECOND
SITECORE SITES
CONFIGURATION
IIS BINDING
SHOSTS FIles
SITECORE AUTOMATION
MODULE
![Page 2: Use case 1 - for Sitecore Automation Module](https://reader033.vdocuments.mx/reader033/viewer/2022051521/587709641a28ab890e8b610f/html5/thumbnails/2.jpg)
@RobsonAutomatorhttps://bitbucket.org/sitecoreautomationteam/sitecore-automation/wiki/Home
Use Case for Sitecore Automation ModuleMigration of 4 servers SIT/CM/2xCD
![Page 3: Use case 1 - for Sitecore Automation Module](https://reader033.vdocuments.mx/reader033/viewer/2022051521/587709641a28ab890e8b610f/html5/thumbnails/3.jpg)
@RobsonAutomatorhttps://bitbucket.org/sitecoreautomationteam/sitecore-automation/wiki/Home
Use Get-SitecoreSites command and extract hostName propertyGet Sitecore Sites
$webPath = 'E:\www\MySite\Website\App_Config\Include\Novo' $hosts = Get-SitecoreSites -Path $webPath | Select-Object -ExpandProperty hostName
![Page 4: Use case 1 - for Sitecore Automation Module](https://reader033.vdocuments.mx/reader033/viewer/2022051521/587709641a28ab890e8b610f/html5/thumbnails/4.jpg)
@RobsonAutomatorhttps://bitbucket.org/sitecoreautomationteam/sitecore-automation/wiki/Home
Add IIS BindingsUse Add-SitecoreBindings to add hosts to IIS
Add-SitecoreBindings -Hosts $hosts -WebSite "Sitecore8"
![Page 5: Use case 1 - for Sitecore Automation Module](https://reader033.vdocuments.mx/reader033/viewer/2022051521/587709641a28ab890e8b610f/html5/thumbnails/5.jpg)
@RobsonAutomatorhttps://bitbucket.org/sitecoreautomationteam/sitecore-automation/wiki/Home
Add Hosts EntriesUse New-SitecoreHostEntry to add entries to hosts file
foreach($hostName in $hosts){ New-SitecoreHostsEntry -IpAddress 127.0.0.1 -HostName $hostName
New-SitecoreHostsEntry -IpAddress 255.255.255.255 -HostName $hostName -Path $devhosts }
![Page 6: Use case 1 - for Sitecore Automation Module](https://reader033.vdocuments.mx/reader033/viewer/2022051521/587709641a28ab890e8b610f/html5/thumbnails/6.jpg)
@RobsonAutomatorhttps://bitbucket.org/sitecoreautomationteam/sitecore-automation/wiki/Home
Powershell ScriptUsing Sitecore-Automation module
![Page 7: Use case 1 - for Sitecore Automation Module](https://reader033.vdocuments.mx/reader033/viewer/2022051521/587709641a28ab890e8b610f/html5/thumbnails/7.jpg)
@RobsonAutomatorhttps://bitbucket.org/sitecoreautomationteam/sitecore-automation/wiki/Home
More about Sitecore Automation Module