Skip to content

Instantly share code, notes, and snippets.

Rodrigo Peplau peplau

Block or report user

Report or block peplau

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View File Deployer with Anti-package generator and automatic rollback
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
@peplau
peplau / SitecoreRoleConfigurator - Diffs.ps1
Last active Sep 23, 2016
Powershell: SitecoreRoleConfigurator - Diffs.ps1
View SitecoreRoleConfigurator - Diffs.ps1
<#
.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
You can’t perform that action at this time.