This file contains 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
Function Deployer-Prepare { | |
Param($source,$target,$anti) | |
# Pre-validations | |
$sourceExists = Test-Path $source | |
if ($sourceExists -eq $false){ | |
Write-Output "Source directory is wrong - $source" | |
return $false | |
} | |
$targetExists = Test-Path $target |
This file contains 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
<# | |
.SYNOPSIS | |
The following script prompts the user for a Sitecore server role, then shows the files that are not matching the spreadsheet. | |
Based on Michael West's "SitecoreRoleConfigurator.ps1" - https://gist.github.com/michaellwest/d1124a459cb1fb47486f87d488ecfab8 | |
Important: you will need the CSV file provided by Michael at https://gist.github.com/michaellwest/d1124a459cb1fb47486f87d488ecfab8#file-config_enable-disable_sitecore_8-1_upd3-csv | |
Now it supports multiple Env Roles separated by comma thanks to @mhwelander feedback | |
.NOTES | |
Rodrigo Peplau | |
2016-09-23 |
NewerOlder