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

Adapt Get-HostDescription to new configuration location.

Refers to #18
parent 7d9c1a5a
No related branches found
No related tags found
No related merge requests found
......@@ -411,7 +411,7 @@ function Upload-LogFiles {
function Get-HostDescription() {
$Desc = $env:COMPUTERNAME
$ConfigXml = "$($InstallationPath)\configuration.xml"
$ConfigXml = "$($ConfigPath)\$($Desc).xml"
try {
[xml]$XML = Get-Content $ConfigXml -ErrorAction Stop
# careful, we need a string comparison here:
......
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