# WSUS -reporing duplicate problems

**URL:** <https://forums.powershell.org/t/wsus-reporing-duplicate-problems/14349>\
**Category:** PowerShell Help\
**Created:** [May 8, 2020, 12:52am UTC](https://forums.powershell.org/t/wsus-reporing-duplicate-problems/14349 "2020-05-08T00:52:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![19kamillo20](https://avatars.discourse-cdn.com/v4/letter/1/41988e/32.png) [@19kamillo20](https://forums.powershell.org/u/19kamillo20)\
**Post date:** [May 8, 2020, 12:52am UTC](https://forums.powershell.org/t/wsus-reporing-duplicate-problems/14349/1 "2020-05-08T00:52:45Z")

</div>

$computerscope = New-Object Microsoft.UpdateServices.Administration.ComputerTargetScope  
$servers= ‘[ab005.kamil.com](http://ab005.kamil.com)’

$Result = $wsus.GetSummariesPerComputerTarget($updatescope,$computerscope)

$Results += $Result | Select-Object @{L=’FQDN’;E={($wsus.GetComputerTarget([guid]$\_.ComputerTargetId)).FullDomainName}}

&nbsp;

But When I checked a variabale $Results , I recived two value , because I think that the $computerscope conaint Name Includes:

&nbsp;

PS C:\Windows\system32\> $computerscope

NameIncludes : [as004.groupad1.com](http://as004.groupad1.com)  
RequestedTargetGroupNames : {}  
FromLastSyncTime : 1.1.0001 0.00.00  
ToLastSyncTime : 31.12.9999 23.59.59  
FromLastReportedStatusTime : 1.1.0001 0.00.00  
ToLastReportedStatusTime : 31.12.9999 23.59.59  
IncludedInstallationStates : All  
ExcludedInstallationStates : 0  
ComputerTargetGroups : {}  
IncludeSubgroups : False  
IncludeDownstreamComputerTargets : False  
OSFamily :

PS C:\Windows\system32\> $Results

## FQDN

[fi233helsasab005.groupad1.com](http://fi233helsasab005.groupad1.com)  
[ab005.kamil.com](http://ab005.kamil.com)

&nbsp;

Could you help me how i can choose only

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:29pm UTC](https://forums.powershell.org/t/wsus-reporing-duplicate-problems/14349/2 "2024-05-16T20:29:43Z")

</div>


