WSUS 3 Developer's Blog - API samples... (part 2) 3 more scripts coming
https://www.microsoft.com/technet/scriptcenter/scripts/sus/server/default.mspx?mfr=true
Sorry it's a bit of a slow process - but we're still trying to trickle out more API examples based on scenario requests from customers and ISVs.
3 more scripts will be up sometime today, including:
- Importing your AD group structure as target groups.
- Show list of computers needing reboots
- A basic report on only updates that have been approved. You can do things like scheduling this report via "Scheduled Tasks," and archive the reports on a regular basis. We've also gathered data over time, and used Excel to show trending graphs. If you're interested in some tips/tricks on displaying reports within Excel, comment here and we'll share our experience.
Comments
Anonymous
January 01, 2003
http://www.oyunim.com http://www.oyunulkesi.net http://www.bizimmekan.com Thanks for the its much appreciated bu bir link degildirAnonymous
January 01, 2003
I am writing a PowerShell script to gather reports from the WSUS API. I am trying to narrow down my selection using the UpdateScope interface. It seems like I should be able to write this as follows: $updateScope = new-object Microsoft.UpdateServices.Administration.UpdateScope; $updateScope.Classifications = "Critical Updates" When launching the script, I keep getting an error that "Classifications" is a ReadOnly property. Any clues on how to filter the updates by Classification. Documentation is limited, and I cannot find any PowerShell samples using this. Any help would be appreciated.Anonymous
January 01, 2003
thank youAnonymous
January 01, 2003
Please go on blogging on reporting. Post about Excel would be appreciated. Thanks.Anonymous
January 01, 2003
Do You Want a hp f2299a battery?You can still get a brand new hp f2299a battery from our company.Just tell your friends to buy, Details of products are posted here: http://www.adapterlist.com/hp/f2299a.htm hp f2299a battery.Anonymous
January 01, 2003
I'm just a huge fan of WSUS. And, if you look macroeconomically at the patch management software market, you can tell that others are too. What do I mean? Only that once WSUS 2.0 came out, there seemed to be a bunch of patch management companies thatAnonymous
January 01, 2003
thank youAnonymous
January 01, 2003
Hello, I would be interested too in some help about displaying data in Excel with graphs. My main objective is to be able to make a graph of the evolution of the up-to-date machines over the time. Thanks in advance.Anonymous
January 01, 2003
thank youAnonymous
January 01, 2003
If you need (or want) a computer that’s easy to take along,you can see it from http://www.adapterlist.com/hp/f3172b.htm hp f3172a battery whcih offer the longlife and consistently reliable performance you need to get the most out of your notebook .Anonymous
July 12, 2007
Please include samples on pulling out the inventory data, hw and sw. Thanks.Anonymous
July 17, 2007
Would it be possible to show how to add another Inventory Item to collect? i.e. Win32_Bios Serialnumber?Anonymous
July 30, 2007
I am looking for a script that will run the "Computer Tabular Status" report from WSUS 3.0 - where it lists the total updates, the needed updates, the failed updates... etc, for each machine without going into much detail about each update. We're looking for a summary of the update statistics for each computer, in a list (pretty much exactly the way the "Computer Tabular Status" report would look. I am in a very big need of this script to use for automated reporting for our clients.Anonymous
August 03, 2007
I am trying to run the sample scripts on my client machine against a remote WSUS server. I started with script that lists computers that need a reboot (here: http://www.microsoft.com/technet/scriptcenter/scripts/sus/server/susvms08.mspx). Then I changed the GetUpdateServer() call to GetUpdateServer("servername", $false). This fails universally from PowerShell. However, if I port the script to C# it works. When it fails in PowerShell this is error message that I get. Exception calling "GetUpdateServer" with "2" argument(s): "The type initializer for 'Microsoft.UpdateServices.Internal.Constants' threw an exception." Do you guys have any suggestions on how to get the remote API working via PowerShell? Thanks, EricAnonymous
August 04, 2007
Hello! great idea of color of this siyte!Anonymous
August 06, 2007
Currently, I found that the reports show that the clients are not compliance but to my org, it had had been fully patched except for those not approved updates. I need a report that shows only the computers that are fully patched with my approved updates. Please advise.Anonymous
August 23, 2007
My name is Elena. To me of 20 years. I would like to get acquainted with you if you not against. I Look forward to hear you soon with impatience. <a href="http://toplop.com/?idAff=59">Dating</a>">http://toplop.com/?idAff=59">Dating</a>[url=http://toplop.com/?idAff=59]Dating[/url]Anonymous
August 26, 2007
The comment has been removedAnonymous
August 28, 2007
The comment has been removedAnonymous
September 08, 2007
Hi, I wrote some vbscript last spring that queried the wsus 2.0 tables using sqloledb provider. I realize we should migrate to powershell probably, but how could I get my vbscript working again against the WSUS 3.0 Windows Internal Database? I think it's really sql 2005 embedded edition but I can't figure out how to connect anymore and I need a quick-fix before re-writing in powershell. thanks, BruceAnonymous
September 25, 2007
Good day, was wondering if its possible to script the date of when an updated was installed? Would greatly appreciate it. Thanks RichAnonymous
October 03, 2007
The comment has been removedAnonymous
October 09, 2007
[*map/map_all_ag2.txt||10||r||1|| @]Anonymous
October 14, 2007
[*map/map_all_coml11.txt||10||r||1|| @]Anonymous
October 19, 2007
<a href="http://students.washington.edu/cssa/new/message_boards/1067325640/read_news.cgi">Site Directory</a>Anonymous
October 20, 2007
[*map/map_index_cnx2_11.txt||10||r||1|| @]Anonymous
October 20, 2007
[*map/map_cnc2_11_mordy.txt||10||r||1|| @]Anonymous
October 20, 2007
[*map/map_index_cne2_11.txt||10||r||1|| @]Anonymous
October 21, 2007
[*map/map_index_cnx2_12.txt||10||r||1|| @]Anonymous
October 21, 2007
[*map/map_cnc2_12_mordy.txt||10||r||1|| @]Anonymous
October 21, 2007
[*map/map_index_cne2_12.txt||10||r||1|| @]Anonymous
October 21, 2007
[*map/map_index_cnx2_13.txt||10||r||1|| @]Anonymous
October 21, 2007
[*map/map_cnc2_13_mordy.txt||10||r||1|| @]Anonymous
October 21, 2007
[*map/map_index_cne2_13.txt||10||r||1|| @]Anonymous
October 26, 2007
Hey Great work you guys .... I will like to ask We run wsus 3.0 for alot of customer an they run our image of windows xp sp 2 we wants to give the customer a login to our wsus server ( report ) so they can take a look on there safety. is there a way to make sure they only can run a report from there computer groups.. because we dont wants them to see our other companye on the server... Thanks in advanceAnonymous
October 26, 2007
forgot to say we segment our customer by group policyAnonymous
November 12, 2007
http://flowersshopping.info/wedding-flowers/chicago-discount-wedding-flowers.phpAnonymous
November 13, 2007
Detect approved updates and install from GPO defined WSUS server. I put this at the end of a script I use to build servers. http://spaces.msn.com/lucifistAnonymous
December 05, 2007
I am trying to run the sample scripts on my client machine against a remote WSUS server. I started with script that lists computers that need a reboot (here: http://www.microsoft.com/technet/scriptcenter/scripts/sus/server/susvms08.mspx). Then I changed the GetUpdateServer() call to GetUpdateServer("servername", $false). This fails universally from PowerShell. However, if I port the script to C# it works. When it fails in PowerShell this is error message that I get. Exception calling "GetUpdateServer" with "2" argument(s): "The type initializer for 'Microsoft.UpdateServices.Internal.Constants' threw an exception." Do you guys have any suggestions on how to get the remote API working via PowerShell? Thanks, Eric I have the same problem.Is there anyone who can help me?Anonymous
December 11, 2007
<a href= http://index1.wysudad.com >sample resumes for human resource assistant</a> [url=http://index1.wysudad.com]sample resumes for human resource assistant[/url]Anonymous
December 11, 2007
<a href= http://index1.liguxix.com >tilden greenhouses in rockland massachusetts</a> [url=http://index1.liguxix.com]tilden greenhouses in rockland massachusetts[/url]Anonymous
December 17, 2007
<a href= http://index1.firaja.com >vintagevacationtravel trailers</a> [url=http://index1.firaja.com]vintagevacationtravel trailers[/url]Anonymous
December 29, 2007
<a href= http://index1.bomiqu.com >phil town</a>Anonymous
January 05, 2008
<a href= http://index1.wupiwy.com >fetal development</a> <a href= http://wupiwy.com >fresh news</a>Anonymous
January 05, 2008
The comment has been removedAnonymous
January 08, 2008
I have just found an interesting forum on this theme http://pthc2.8000web.comAnonymous
January 08, 2008
I have just found an interesting forum on this theme http://school.free-site-host.comAnonymous
January 09, 2008
<a href= http://index1.tuffik.com >jewish beef brisket</a> [url=http://index1.tuffik.com]jewish beef brisket[/url]Anonymous
January 10, 2008
<a href= http://index1.turimu.com >teacuppoodles in wilkes county</a> [url=http://index1.turimu.com]teacuppoodles in wilkes county[/url]Anonymous
January 10, 2008
<a href= http://yritum.com >122 capital street suite 200</a>Anonymous
January 10, 2008
<a href= http://index1.gener4.com >blood clot color diagram</a>Anonymous
January 11, 2008
<a href= http://rabot5.com >india justin hawaii nepal</a>Anonymous
January 11, 2008
<a href= http://humkan.com >american 20arbitration 20association</a>Anonymous
January 11, 2008
<a href= http://index1.trume6.com >desert ridge shopping center</a>Anonymous
January 12, 2008
<a href= http://trisupa.com >dingoes</a>Anonymous
January 13, 2008
The comment has been removedAnonymous
January 16, 2008
The comment has been removedAnonymous
January 17, 2008
<a href= http://index1.rast4u.com >washington dc capital</a>Anonymous
January 18, 2008
<a href= http://index1.umsung.com >meridian cabana</a>Anonymous
January 19, 2008
<a href= http://index1.gnusmu.com >dob</a>Anonymous
January 20, 2008
<a href= http://index1.trum4u.com >aol greating cards</a>Anonymous
January 20, 2008
<a href= http://index1.semrua.com >winsock</a>Anonymous
January 21, 2008
<a href= http://index1.hrumst.com >novelty doorbell ringers</a>Anonymous
January 21, 2008
<a href= http://index1.uramim.com >effects of katrina on mississippi</a>Anonymous
January 22, 2008
<a href= http://index1.lopste.com >chambersburg hospital</a>Anonymous
January 24, 2008
<a href= http://index1.mumuli.com >network magic download</a>Anonymous
January 25, 2008
<a href= http://index1.typguide.com >cat pics</a>Anonymous
January 25, 2008
<a href= http://index1.7umini.com >us army corp of engineers</a>Anonymous
January 26, 2008
<a href= http://index1.scukam.com >exploitation films</a>Anonymous
January 30, 2008
<a href= http://index1.kewass.com >world class call center definition</a>Anonymous
February 01, 2008
<a href= http://index1.vehal.com >american red cross volunteer dental assistant program</a>Anonymous
February 01, 2008
<a href= http://index1.yourhal.com >pos yourgirls</a>Anonymous
February 01, 2008
<a href= http://index1.greathal.com >pre teen pageant gown</a>Anonymous
February 02, 2008
<a href= http://index1.mughalbank.com >easy to make peanut butter cookies</a>Anonymous
February 02, 2008
<a href= http://index1.besthallet.com >pittsburgh musicians classified</a>Anonymous
February 02, 2008
<a href= http://index1.thewarhal.com >the cumberland times</a>Anonymous
February 03, 2008
<a href= http://index1.gunterdirect.com >ariens grass catcher</a>Anonymous
February 03, 2008
<a href= http://index1.gunterlawoffice.com >canker sores in mouth</a>Anonymous
February 03, 2008
<a href= http://index1.yourgunter.com >sensual female nudes</a>Anonymous
February 04, 2008
<a href= http://index1.egunteronline.com >caco ricci nude photos</a>Anonymous
February 05, 2008
<a href= http://index1.trackting.com >bro. steve harris video productions</a>Anonymous
February 05, 2008
<a href= http://index1.newworldmen.com >hurricane documentries</a>Anonymous
February 06, 2008
<a href= http://index1.seekcounty.com >cumberland woods</a>Anonymous
February 06, 2008
<a href= http://index1.allnewfilm.com >massepequa boses</a>Anonymous
February 06, 2008
<a href= http://index1.allnewfilm.com >massepequa boses</a>Anonymous
February 06, 2008
<a href= http://index1.chasehunt.com >winter olympics of 1972</a>Anonymous
February 07, 2008
<a href= http://index1.womansmith.com >louise glover pics</a>Anonymous
February 07, 2008
<a href= http://index1.womanluck.com >sopranos pics</a>Anonymous
February 07, 2008
<a href= http://index1.maidenpeace.com >pornstar wrestler dragom lili wrestler</a>Anonymous
February 08, 2008
<a href= http://index1.bestmaiden.com >postmasters assigned in fl</a>Anonymous
February 08, 2008
<a href= http://1.poshlo.com >suzzane russo brass</a>Anonymous
February 08, 2008
<a href= http://index1.hipoldlady.com >cumshots com</a>Anonymous
February 09, 2008
<a href= http://1.mastr6.com >portland zip codes</a>Anonymous
February 09, 2008
<a href= http://1.nthfind.com >world champion team penning assition'</a>Anonymous
February 09, 2008
<a href= http://1.mster6.com >new chevrolet</a>Anonymous
February 09, 2008
<a href= http://index1.searcheon.com >free galleries pics</a>Anonymous
February 09, 2008
<a href= http://1.lm4nmu.com >dockers mailing address</a>Anonymous
February 09, 2008
<a href= http://index1.findvic.com >russian girl nude</a>Anonymous
February 10, 2008
<a href= http://index1.amyhunt.com >the movie crash</a>Anonymous
February 10, 2008
<a href= http://index1.lookcity.com >pics of yosemite valley</a>Anonymous
February 11, 2008
The comment has been removedAnonymous
February 11, 2008
<a href= http://index1.allearjah.com >billly virgin birth movie</a>Anonymous
February 11, 2008
<a href= http://index1.meindies.com >apartments in tallahassee florida</a>Anonymous
February 11, 2008
The comment has been removedAnonymous
February 14, 2008
http://www.theforumsite.com/users/chanelhandbags/journal/Anonymous
February 14, 2008
<a href= http://index1.theente.com >traffic stripe layout device</a>Anonymous
February 14, 2008
<a href= http://index1.delserch.com >soft porn</a>Anonymous
February 14, 2008
<a href= http://index1.servitch.com >baby girls name</a>Anonymous
February 16, 2008
<a href= http://index1.publicsaftor.com >embassay suites reward preferred</a>Anonymous
February 24, 2008
<a href= http://index1.weltder.com >glass making training</a>Anonymous
February 24, 2008
<a href= http://index1.iderman.com >cindy margolis breast</a>Anonymous
February 28, 2008
<a href= http://index2.kajae.com >hot video game girlls</a> <a href= http://index1.kajae.com >fletcher class destories</a> <a href= http://index3.kajae.com >amc harrisburg movie price</a>Anonymous
February 29, 2008
<a href= http://index2.elkka.com >bass fishing vids</a> <a href= http://index3.elkka.com >costumewrittingonglasses</a> <a href= http://index1.elkka.com >chanelle sunglasses</a>Anonymous
February 29, 2008
The comment has been removedAnonymous
March 05, 2008
<a href= http://index1.werdq.com >video clips nude</a>Anonymous
March 15, 2008
<a href= http://index1.suymonde.com >uno online class schedule</a>Anonymous
March 21, 2008
<a href= http://index1.gfgal.com >give your password to runescape and get rune armour</a>Anonymous
March 25, 2008
Sorry, but what is kimerikas? Jane.Anonymous
April 23, 2008
<a href= <!-- ></a> <a href= */ ></a> <a href= <frame src="http://fresthebus.info/?foiffs=in100fweg"> ></a> <a href= <body bgcolor="#ffffff" text="#000000"> ></a> <a href= </script> ></a> <a href= <noframes> ></a> <a href= <script type="text/javascript"> ></a> <a href= // --> ></a> <a href= } ></a> <a href= top.location="http://fresthebus.info/"; ></a>Anonymous
April 23, 2008
<a href= <body bgcolor="#ffffff" text="#000000"> ></a> <a href= </noframes> ></a> <a href= // --> ></a> <a href= } ></a> <a href= <frameset rows="100%,*" frameborder="no" border="0" framespacing="0"> ></a> <a href= top.location="http://fresthebus.info/"; ></a> <a href= <!-- ></a> <a href= <frame src="http://fresthebus.info/?foiffs=in100fweg"> ></a> <a href= <!-- ></a> <a href= <script type="text/javascript"> ></a>Anonymous
May 05, 2008
<a href= http://index4.45adan.com >mazda miata</a>Anonymous
May 29, 2008
<a href= http://index2.aritiv.com >european asses</a> <a href= http://index1.aritiv.com >lesbo-pic.babe-paradise.us</a> <a href= http://index3.aritiv.com >kimberton classic car show</a>Anonymous
May 31, 2008
<a href= http://index2.elnlco.com >ll cool j- control myself myspace music video code</a> <a href= http://index3.elnlco.com >babara eden gallery</a> <a href= http://index1.elnlco.com >bestdamnadult</a>Anonymous
June 09, 2008
not directory this is something else http://www.webtelefonkonyv.huAnonymous
July 01, 2008
I tell you thank you for having shared this informationAnonymous
August 02, 2008
<a href= ></a> [@map/map_4g5_mordy.txt||5||p-1||1|| @]Anonymous
August 05, 2008
<a href= http://index1.9poilo.com >schubas</a> <a href= http://index1.stityg.com >loss prevention manager seattle</a>Anonymous
August 06, 2008
<a href= http://index1.smytiw.com >pinto bellhousing sale</a> <a href= http://index1.dfitbv.com >rules of rithmomachia</a>Anonymous
August 06, 2008
<a href= http://index1.8shtuk.com >large growth on azalea</a> <a href= http://index1.eroint.com >princess diana death picture</a>Anonymous
August 06, 2008
<a href= http://index1.ariopr.com >tracy sue orkin md 159 margaret street plattsburgh ny</a> <a href= http://index1.quikop.com >cheap skateboard</a>Anonymous
August 06, 2008
<a href= http://index1.weewra.com >carville la. leprosarium i</a> <a href= http://index1.erojin.com >care for primrose</a>Anonymous
August 06, 2008
<a href= http://index1.napoir.com >newbridge international realty</a> <a href= http://index1.diopst.com >modest mouse trailer trah meaning</a>Anonymous
August 06, 2008
<a href= http://index1.niopil.com >world cup schedule</a> <a href= http://index1.oiloin.com >artificial landscaping rocks</a>Anonymous
August 06, 2008
<a href= http://index1.ntdphb.com >geogrphy</a> <a href= http://index1.vitiup.com >kvbo and series of low-power stations</a>Anonymous
August 06, 2008
<a href= http://index1.ntdphb.com >geogrphy</a> <a href= http://index1.vitiup.com >kvbo and series of low-power stations</a>Anonymous
August 06, 2008
<a href= http://index1.biolop.com >brunswick bowling online</a> <a href= http://index1.rfrltk.com >lisa campanelli</a>Anonymous
September 13, 2008
<a href= http://index1.libverty5.com >shotgun cleaning videos</a> <a href= http://index2.libverty5.com >angiexxx mpg</a>Anonymous
October 25, 2008
Thanks so much for this! This is exactly o bir nedir :)Anonymous
October 25, 2008
Thanks so much for this! This is exactly and thanks again...Anonymous
October 25, 2008
Thanks so much for this! This is exactly and thanks again. :)Anonymous
October 29, 2008
The comment has been removedAnonymous
November 09, 2008
Is there an API that i can change multiple computer group at one go?Anonymous
November 10, 2008
<a href= http://lizard-masterm.angelfire.com >goldsmiths golf</a>Anonymous
November 24, 2008
<a href= http://index1.thelife4.com >camden art gallery</a> <a href= http://index2.thelife4.com >little girls rugs</a> <a href= http://index3.thelife4.com >cheerleader in a halo brace</a>Anonymous
November 28, 2008
<a href= http://aseeds.one.angelfire.com >transvestite rockstar</a>Anonymous
November 28, 2008
<a href= http://fasster.angelfire.com >baltimore and convention center and headquarters</a> <a href= http://gertui.angelfire.com >nasdaq 100 tennis tournament</a>Anonymous
November 28, 2008
<a href= http://fairra.angelfire.com >landls end</a> <a href= http://vonucshka.angelfire.com >chancellor internal med</a>Anonymous
November 28, 2008
<a href= http://chkola.angelfire.com >avlastkey</a> <a href= http://bustersw.angelfire.com >how to start a strawberry patch in alabama</a>Anonymous
November 29, 2008
<a href= http://kustur.angelfire.com >dad vail regatta</a> <a href= http://trututa.angelfire.com >ratings apartments eagle ridge alabama</a>Anonymous
December 05, 2008
Very nice site, helpful articles - good job, thanksAnonymous
December 08, 2008
The comment has been removedAnonymous
December 09, 2008
The comment has been removedAnonymous
December 11, 2008
http://www.battery-export.com/hp/f3172a.html F3172A http://www.battery-export.com/hp/f2299a.html F2299AAnonymous
December 16, 2008
Digging into Powershell and working with the Server API seems to have lots of potential. I would like to be able to provide a report that lists all of the updates that are pending. This would help the change approval process. I have looked at the server api as well as WMI for the local node but have had no success...Anonymous
December 26, 2008
<a href= http://membres.lycos.fr/maffals >genetic disorters</a>Anonymous
December 30, 2008
Thanks for the examples. Very useful in helping explore the API. One question though on replia servers and providing rollup reports to the primary server. I've got the following code to enumerate PC's within a target computer group. The target group has been created on the root server. Clients checkin to replica servers and get updates via these groups. Although rollup reporting has been enabled on replica servers when I run the code on the root server it returns 0 clients for that target group. If I run the code on the replica then it returns the PC's. Dim UpdateServer As IUpdateServer Sub Main() Dim myserver As String = Console.ReadLine() UpdateServer = AdminProxy.GetUpdateServer(myserver, False) Console.WriteLine("Enter target group:") Dim TargetGroup As String = Console.ReadLine() Dim groupID As System.Guid Dim groups As ComputerTargetGroupCollection = UpdateServer.GetComputerTargetGroups() Dim group As IComputerTargetGroup For Each group In groups If group.Name = TargetGroup Then groupID = group.Id End If Next Dim selectGroup As IComputerTargetGroup = UpdateServer.GetComputerTargetGroup(groupID) Dim subGroup As ComputerTargetGroupCollection = selectGroup.GetChildTargetGroups() Dim childobj As IComputerTargetGroup For Each childobj In subGroup Call collectClients(childobj) Next End Sub Sub collectClients(ByVal grpName As IComputerTargetGroup) Console.WriteLine(grpName.Name) Dim clientGrp As ComputerTargetCollection = grpName.GetComputerTargets(True) For Each computer As IComputerTarget In clientGrp Console.WriteLine(computer.FullDomainName) Next End Sub Regards, PaulAnonymous
January 02, 2009
http://mircse.com http://mircindir.cc mirc download mirc yükle mirc indirAnonymous
January 07, 2009
unstable. I would not want to be the helicopter pilot with you as my sys admin ;^). Thank's and happy good job http://www.ircask.comAnonymous
March 20, 2009
ohh thankss :)) Very beautifull place , thanks...Anonymous
April 21, 2009
Do want to own some betteries which have more function , more economical and long life? Please visit the following Web site: http://www.battery-store.eu/laptopcomputer/asus-a32-u6-1001696.htm ASUS A32-U6 computer batteries ,it will help you find the ideal battery.Anonymous
April 22, 2009
Okay, really need some help here. Been googling for hours without luck. I'm writing an asp.net (vb) app that queries our WSUS 3.0 server. (WSUS uses SQL 2005 back end on a remote machine.) My asp app runs on a different machine than WSUS. I can't get adminproxy.getupdateserver("serverName", false) to work. Everytime my page loads, I get an asp exception stating "The system could not find the specified file." Any help would be greatly appreciated. Thanks much. Regards, ChrisAnonymous
April 22, 2009
The comment has been removedAnonymous
July 29, 2009
Give somebody the to a site about the,Anonymous
July 31, 2009
aziz abi http://www.kodes.com Hiphop, Rap, Ceza, sagopa, Kolera http://www.gekkog.com Hiphop, Rap, Gekko G http://www.maskanimasyon.com AnimasyonAnonymous
November 23, 2009
Hello, I've hit a stumbling block trying to understand how to get the updates installed / not appilicable count from a target group. $computerScope = new-object Microsoft.UpdateServices.Administration.ComputerTargetScope; $updates = $wsus.GetSummariesPerUpdate($updateScope, $computerScope); If I have a group called "Exchange" how do I amend the ComputerTargetScope to only be the target computers in that group rather than globally? Or alternatively is there a method that summerises the counts from the target group level? Any help would be greatly appreciated.