Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Commit 1798918

Browse files
committed
Bug fix of from v3 XML expanding to $Count
This bug fix was from @jakxx
1 parent 49c9f04 commit 1798918

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Exfiltration/Get-GPPPassword.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function Get-GPPPassword {
99
License: BSD 3-Clause
1010
Required Dependencies: None
1111
Optional Dependencies: None
12-
Version: 2.4.0
12+
Version: 2.4.1
1313
1414
.DESCRIPTION
1515
@@ -212,7 +212,7 @@ function Get-GPPPassword {
212212

213213
if ( -not $XMlFiles ) {throw 'No preference files found.'}
214214

215-
Write-Verbose "Found $($XMLFiles.Count) files that could contain passwords."
215+
Write-Verbose "Found $($XMLFiles | Measure-Object | Select-Object -ExpandProperty Count) files that could contain passwords."
216216

217217
foreach ($File in $XMLFiles) {
218218
$Result = (Get-GppInnerFields $File.Fullname)

0 commit comments

Comments
 (0)