[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 915
  • Last Modified:

WSUS Replica Server , Listing all computer objects

Hello All,

 I am in a situation where I need to find all the computers which are getting listed out Global WSUS Server. We have around 3 WSUS server , where the Global WSUS server is a Master server and other 2 servers are replica of the Global Server.

I am using below script to check all the WSUS entries in our Global Server , but it is only listing the server which are getting reported to this Global WSUS server , and it is omitting the servers which are reporting to the 2 Replica server

[void][reflection.assembly]::LoadWithPartialName("Microsoft.UpdateServices.Administration")
$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::getUpdateServer($WSUSserver,$false)
$wsus.GetComputerTargets()

Open in new window


when checked some computer objects which reports to other wsus server ,they are appearing it the console.

what is the issue here?

Do I need to modify the script to get all the computer listed?

Thanks,

-Prashant Girennavar.
0
Prashant Girennavar
Asked:
Prashant Girennavar
  • 2
1 Solution
 
arnoldCommented:
You have to make sure your replica settings include the configuration to report their connected systems to the master.
On the master, check the reporting rollup settings to make sure roll up statu from replica downstream servers is selected.

If you are on the master and look at the downstream servers, do you see the other replicas listed?
0
 
Prashant GirennavarAuthor Commented:
ok , I think , I did not explian it better.

@Arnold , The WSUS servers are in sync and I can see wsus clients in wsus console .

But , When I use above script it is not listing the servers which are not reporting back to Global WSUS server.

Only servers which are getting reported to Global Servers are getting reported.

What I need to put in script in order to have list all the computers which exists in Global WSUS

Thanks,

-Prashant Girennavar.
0
 
arnoldCommented:
The replicas based on the reporting rollup will report the client's statuses that talk to them such that those clients and their status will be viewable and seen on the Master WSUS server. The only thing you would not be able to do on the master is to determine the cause of a failed update as that information is not rolled up.

Are all your servers through GPO configured to use a WSUS instance for updates.

Are these servers listed within the replicas?

If you have reporting rollup set, and you have systems connecting to the replicas.  If all of these systems that connect to a replica but are not seen on the master WSUS suggests you have a "reporting" issue from the replica to the main WSUS.
The process to synchronize and retrieve updates is different that the reporting process.

Do you have WSUS on port 80, or is it on a specific port?  Is the replica configured in the same way the systems that check with the WSUS server for updates/reports?

If you do see all the systems in the console, double check where the replica reported client data is and use a join statement to include that data as well in your report.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now