Bug fix of from v3 XML expanding to $Count

This bug fix was from @jakxx
This commit is contained in:
Chris Campbell
2014-03-05 00:40:02 -05:00
parent 49c9f04533
commit 1798918edf
+2 -2
View File
@@ -9,7 +9,7 @@ function Get-GPPPassword {
License: BSD 3-Clause
Required Dependencies: None
Optional Dependencies: None
Version: 2.4.0
Version: 2.4.1
.DESCRIPTION
@@ -212,7 +212,7 @@ function Get-GPPPassword {
if ( -not $XMlFiles ) {throw 'No preference files found.'}
Write-Verbose "Found $($XMLFiles.Count) files that could contain passwords."
Write-Verbose "Found $($XMLFiles | Measure-Object | Select-Object -ExpandProperty Count) files that could contain passwords."
foreach ($File in $XMLFiles) {
$Result = (Get-GppInnerFields $File.Fullname)