Skip to content

Instantly share code, notes, and snippets.

@gyusza
gyusza / Gutter Example
Last active June 13, 2017 09:48
Gutter Example Powershell
<#
.NAME
Item Has 20 Or More Sub-items Gutter
.SYNOPSIS
Renders gutters indicated whether the item has more than 20 sub-items.
.NOTES
Mike Reynolds
#>
0xa924d095598881f75c364F31E3FDd7B1ee7357CC
Verifying my Blockstack ID is secured with the address 1CnkoZABoP6Cj1csXLSJ2vPpDCYeLbBWhs https://explorer.blockstack.org/address/1CnkoZABoP6Cj1csXLSJ2vPpDCYeLbBWhs
@gyusza
gyusza / OrphanedDatasources.ps1
Created May 29, 2018 09:50 — forked from hombreDelPez/OrphanedDatasources.ps1
Sitecore PowerShell script to list all orphaned datasources
<#
.SYNOPSIS
Lists the datasources which are not or no longer referenced to a rendering in a page.
.NOTES
Ramon Bruelisauer (original)
Manuel Fischer (adjustements for the Master Solution)
#>
<##
$data = @(gci -Path . -Recurse -Language "en" )
$props = @{ Title = "SEO Data"
PageSize = 250
}
$data | Show-ListView -Property @{Label="Title"; Expression={ $_.DisplayName }},
@{Label="MetaDescription"; Expression={$_.MetaDescription} },
@{Label="MetaKeywords"; Expression={$_.MetaKeywords} },
@{Label="Path"; Expression={$_.FullPath} }