diff --git a/tools/collector-generator/New-Collector.ps1 b/tools/collector-generator/New-Collector.ps1 index 687b852d..d926d277 100644 --- a/tools/collector-generator/New-Collector.ps1 +++ b/tools/collector-generator/New-Collector.ps1 @@ -20,7 +20,7 @@ else { $members = $wmiObject ` | Get-Member -MemberType Properties ` | Where-Object { $_.Definition -Match '^u?int' -and $_.Name -NotMatch '_' } ` - | Select-Object Name, @{Name="Type";Expression={$_.Definition.Split(" ")[0]}}) + | Select-Object Name, @{Name="Type";Expression={$_.Definition.Split(" ")[0]}} $input = @{ "Class"=$Class; "CollectorName"=$CollectorName;