Skip to content

Instantly share code, notes, and snippets.

View peplau's full-sized avatar

Rodrigo Peplau peplau

View GitHub Profile
@peplau
peplau / Create Package from Report CSV file-1.0.zip
Last active February 29, 2024 20:56
Create Package from Report CSV file
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 September 23, 2016 21:57
Powershell: 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