Last active
January 4, 2017 15:24
-
-
Save RobsonAutomator/603bd4a2ef2204fb7a512952b0d5ffe3 to your computer and use it in GitHub Desktop.
Generate lists of login sites for Sitecore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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