ps/Modules/Alkami.PowerShell.ServiceFabric/Public/Open-ServiceFabricDashboard.ps1

16 lines
397 B
PowerShell
Raw Normal View History

2023-05-30 22:51:22 -07:00
function Open-ServiceFabricDashboard {
<#
.SYNOPSIS
Opens the Service Fabric dashboard on the local machine, or for a remote machine.
.PARAMETER hostname
A single server hostname from the target Service Fabric cluster.
#>
[CmdletBinding()]
Param()
$siteName = (Get-AlkamiServiceFabricServerCertificateName);
$url = "http://$($siteName):19080"
Start-Process $url
}