Skip to content
Snippets Groups Projects
Commit 45e9bb8f authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Report machine names in lowercase

parent 23a63399
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,7 @@ $MachineStatus = Get-BrokerMachine -AdminAddress $Config.CitrixDC
Write-Performance -Name "machine_status" -Command "Get-BrokerMachine" -StopWatch $StopWatch
foreach ($Machine in $MachineStatus) {
$MachineName = $Machine.MachineName.split("\")[1]
$MachineName = $Machine.MachineName.split("\")[1].ToLower()
$Catalog = $Machine.CatalogName
if ($Config.StripCatalogPrefix.Length -gt 0) {
$Catalog = $Catalog.Replace($Config.StripCatalogPrefix, "")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment