Skip to content

Instantly share code, notes, and snippets.

@RobsonAutomator
Last active January 4, 2017 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobsonAutomator/603bd4a2ef2204fb7a512952b0d5ffe3 to your computer and use it in GitHub Desktop.
Save RobsonAutomator/603bd4a2ef2204fb7a512952b0d5ffe3 to your computer and use it in GitHub Desktop.
Generate lists of login sites for Sitecore
Import-Module sitecore-automation -force
$AppConfig = "$AppPath\App_Config\Include\"
$hosts = Get-SitecoreSites -Path $AppConfig | Select-Object -ExpandProperty hostName | `
Show-ListView -Property @{Label="Login"; Expression={ "<a href='http://" + $_ + "/sitecore/login'>" + $_ + "</a>" } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment