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

Show a startup message

parent 01fbf343
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@
$Config = Import-PowerShellDataFile "$PSScriptRoot\Configuration\Config.psd1"
$FileName = "$($Config.PrometheusCollectorDir)\$($Config.PrometheusCollectorFile)"
Write-Output "Starting the Citrix Prometheus collector..."
while ($True) {
& $PSScriptRoot\New-CitrixMetrics.ps1 | Out-File $FileName -Encoding "UTF8"
Start-Sleep -Seconds 30
......
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