Where there is only 1 ANALYSIS, the PAL.PS1 script fails:
```
The property 'DATASOURCE' cannot be found on this object. Verify that the property exists.
At C:\Program Files\PAL\PAL\PAL.ps1:1965 char:15
+ If (@($XmlAnalysis.DATASOURCE).Count -gt 1)
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], PropertyNotFoundException
+ FullyQualifiedErrorId : PropertyNotFoundStrict
```
This is in the function _AddCounterStatsToXmlCounterInstances_
This is becasue in the lines above the statement:
```
$XmlAnalysis = $global:oXml.XmlAnalyses.ANALYSIS[$oCompletedAnalysis.XmlNodeIndex]
```
yields no result (null object)
```
The property 'DATASOURCE' cannot be found on this object. Verify that the property exists.
At C:\Program Files\PAL\PAL\PAL.ps1:1965 char:15
+ If (@($XmlAnalysis.DATASOURCE).Count -gt 1)
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], PropertyNotFoundException
+ FullyQualifiedErrorId : PropertyNotFoundStrict
```
This is in the function _AddCounterStatsToXmlCounterInstances_
This is becasue in the lines above the statement:
```
$XmlAnalysis = $global:oXml.XmlAnalyses.ANALYSIS[$oCompletedAnalysis.XmlNodeIndex]
```
yields no result (null object)