Есть WSUS модуль -
https://docs.microsoft.com/en-us/powershell/module/wsus (Get-WsusComputer)
Есть PoshWSUS модуль -
https://github.com/proxb/PoshWSUS (Get-PSWSUSClient)
В документации можно найти: To get this interface, call one of the following methods: Item; GetComputer; GetComputerTarget; GetComputerTarget; RegisterComputer.
Скажем для примера, возьмем GetComputerTarget -
https://blogs.technet.microsoft.com/...ent-computers/
Код:
[void][reflection.assembly]::LoadWithPartialName("Microsoft.UpdateServices.Administration")
#Connect to the WSUS Server and create the wsus object
$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::getUpdateServer('dc1',$False)
#Create a computer scope object
$computerscope = New-Object Microsoft.UpdateServices.Administration.ComputerTargetScope
#Find all clients using the computer target scope
$wsus.GetComputerTargets($computerscope)