clean withe spaces
This commit is contained in:
@@ -62,7 +62,6 @@ function Build-XML($Job, $LastResult)
|
|||||||
write-host "<ValueLookup>ps.acronis.jobState</ValueLookup>"
|
write-host "<ValueLookup>ps.acronis.jobState</ValueLookup>"
|
||||||
|
|
||||||
write-host "</result>"
|
write-host "</result>"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function Test-XMLFile
|
function Test-XMLFile
|
||||||
@@ -74,7 +73,7 @@ function Test-XMLFile
|
|||||||
|
|
||||||
if(!(Test-Path -Path $xmlFilePath))
|
if(!(Test-Path -Path $xmlFilePath))
|
||||||
{
|
{
|
||||||
throw "$xmlFilePath is not valid. Please provide a valid path to the .xml fileh"
|
throw "$xmlFilePath is not valid. Please provide a valid path to the .xml file"
|
||||||
}
|
}
|
||||||
|
|
||||||
$xml = New-Object System.Xml.XmlDocument
|
$xml = New-Object System.Xml.XmlDocument
|
||||||
|
|||||||
Reference in New Issue
Block a user