Skip to content

Instantly share code, notes, and snippets.

@AlexKasaku
AlexKasaku / Remove Site Language.ps1
Last active January 1, 2019 19:09
Remove a language from an SXA site. Based on the "Add Site Language" set of scripts that comes with SXA.
# Functions Site Language/Remove Site Language
Import-Function Validate-PowerShell
Test-PowerShell
Try
{
$ctx = Get-Item .