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

Fix machine status metric collection command

parent 3030a9f0
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ Write-Output "${Pfx}_licenses_peak_concurrent_users{} $($BrokerSite.PeakConcurre ...@@ -48,7 +48,7 @@ Write-Output "${Pfx}_licenses_peak_concurrent_users{} $($BrokerSite.PeakConcurre
# Get-BrokerDesktopGroup # Get-BrokerDesktopGroup
$StopWatch = [Diagnostics.Stopwatch]::StartNew() $StopWatch = [Diagnostics.Stopwatch]::StartNew()
$MachineStatus = & "$PSScriptRoot\Get-MachineStatus.ps1" -Format rawfull $MachineStatus = Get-BrokerMachine -AdminAddress $Config.CitrixDC
Write-Performance -Name "machine_status" -Command "Get-BrokerMachine" -StopWatch $StopWatch Write-Performance -Name "machine_status" -Command "Get-BrokerMachine" -StopWatch $StopWatch
foreach ($Machine in $MachineStatus) { foreach ($Machine in $MachineStatus) {
......
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