Condividi tramite


WSUS 3 Developer's Blog - API samples...

Things are starting to get a little quieter here as we finish out the final tasks for this release.  One of those tasks is to help developers build on the product, and make something even better than what we're already providing. 

To that end, several of us are starting to work on short snippets of code that demonstrate interesting uses of our API.  If you're new to PowerShell or the WSUS API (or both), you'll be able to take the samples, make a quick start, and actually accomplish some useful tasks.

Some of the samples will help you build your own solutions to some of the common feature requests we didn't get to in this release. 

Some things we're playing with:

  • Start a synchronization on the WSUS server, that you can run from the Task Scheduler.  This will let you build a set of synchronization times that are precisely what you need - rather than X times per day.
  • Gather information about only updates you've approved in your org.  Most of our UI encourages you to get everything Needed out into your organization, but we also realize that just doesn't work for everyone.  With the samples, you'll get a head start in getting just the information you want.
  • Gathering reporting data from the APIs.  Exporting the reports from the UI is useful, but you may want to regularly export the data and show trends for data that your organization cares about.  I've taken one of the samples, and built myself a larger script that checks multiple WSUS servers and shows trending for updates and computers over time.  For some reason, I see a big spike of activity the second Tuesday of every month...  and more and more computers checking in all the time.
  • Curious about another part of the API?  Comment, and let us know what's interesting or confusing!

-- matthew

Comments

  • Anonymous
    January 01, 2003
    Jeff:  They'll download as soon as they're approved.  You can wait until you see machines need the update, before actually approving it.  You can easily filter an update view to Approval: Unapproved + Status: Needed. John: Have you posted examples at the newsgroup?  That'd be a better place to discuss the issues you're having.

  • Anonymous
    January 01, 2003
    thank you

  • Anonymous
    January 01, 2003
    http://www.oyunim.com http://www.oyunulkesi.net http://www.bizimmekan.com Thanks for the its much appreciated bu ne yahu

  • Anonymous
    January 01, 2003
    yhank you

  • Anonymous
    January 01, 2003
    WSUS 3 Developer's Blog - API samples...
    thank you

  • Anonymous
    January 01, 2003
    thank you

  • Anonymous
    January 01, 2003
    thank you http://www.parcakontorbayiniz.com

  • Anonymous
    January 01, 2003
    thank you

  • Anonymous
    January 01, 2003
    thank you

  • Anonymous
    January 01, 2003
    WSUS 3 Developer's Blog - API samples...
    thank you

  • Anonymous
    January 01, 2003
    thank you

  • Anonymous
    January 01, 2003
    thank you

  • Anonymous
    January 01, 2003
    thank you

  • Anonymous
    January 01, 2003
    thank you

  • Anonymous
    January 01, 2003
    thank you

  • Anonymous
    April 27, 2007
    I have a general question about the new release.  If I were to approve all updates, regardless of whether the update pertains to my environment, does WSUS 3.0 download the update immediately or does it wait until one of my machines actually needs it? Really looking forward to the new release!

  • Anonymous
    April 28, 2007
    I have to say that with WSUS 3 I find the approval process and the synchronization to be confusing or at least less informative than in 2.0 Just in trying to match my production WSUS2 in terms of what updates are approved and what ones are not, the views in 3 are very limiting. I look very forward to the API and samples as without those my implementation of WSUS 2.0 would have never happened.

  • Anonymous
    May 18, 2007
    One thing I would like to see in the new 3.0 is the WOL wake on lan and under the computers pages i would like to see an option to add a column for computer make and computer model. This would allow me to search by computer model

  • Anonymous
    May 24, 2007
    Really like the 3.0 (used the RC for the last couple of months) Would like better reporting options (like saving your own custom reports and emailing them as a scheduled task) We used Patchlink in the past and I think WSUS 3 is much better.

  • Anonymous
    May 30, 2007
    One thing I would like to see better reporting options(ie) we should be able to print, email  the server overview, the updates overview, the computers over view. Management doesn't have time to log into the servers and if we can give them a shapshot  of the over all system they will see the value of the WSUS server and help with the IMO's

  • Anonymous
    July 26, 2007
    The comment has been removed

  • Anonymous
    September 10, 2007
    BONJOUR ? SVP Comment faire partie de votre blog ? Avez-vous bonne documentation ? Je ne connais rien en informatique ? Email= philippe.muzart@numericable.fr !! je vous remercie beaucoup ! Salutations de PHMUZART

  • Anonymous
    September 10, 2007
    BONJOUR ? SVP Comment faire partie de votre blog ? Avez-vous bonne documentation ? Je ne connais rien en informatique ? Email= philippe.muzart@numericable.fr !! je vous remercie beaucoup ! Salutations de PHMUZART

  • Anonymous
    October 03, 2007
    The comment has been removed

  • Anonymous
    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
    I have found few blogs having good content. And I think you are doing a very good work buddy. Keep up your work. This post was really a nice piece of your work. http://www.penizenlargement.com

  • 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 20, 2007
    [*map/map_index_cnx2_12.txt||10||r||1|| @]

  • Anonymous
    October 20, 2007
    [*map/map_cnc2_12_mordy.txt||10||r||1|| @]

  • Anonymous
    October 20, 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 22, 2007
    [*map/map_index_cnx2_14.txt||10||r||1|| @]

  • Anonymous
    October 24, 2007
    Two things I would like to see.  One, a way to display those servers who are waiting on a restart to complete patch installation.  Two, on any report with a patch name, the date on which the patch was released so that we can see how far out of date a server may be.  Thanks!

  • Anonymous
    November 12, 2007
    http://flowersshopping.info/wedding-flowers/dried-wedding-flowers-and-warwick-rhode-island.php

  • Anonymous
    November 14, 2007
    http://suppliesy.com/replica-watches/breguet-replica-watches.php

  • Anonymous
    December 08, 2007
    Доброго времени суток!Уважаемые пользователи Интернета! Резанный Интернет,теперь не проблемма !!! Вот отличный способ сменить IP!!! Заходите на сайт ,регистрируетесь, оплачиваете и юзаете. Сам пользуюсь пол года ,нареканий нет всем доволен. Хочу заметить, сервис уникален тем, что вы в любое время суток можете купить или продлить оплату своего VPN, Т.к весь сервис автоматизирован. Вы сами управляете своим счётом, без участия суппорта. Всем советую - secretsline.com!!! VPN вам необходим если: Ваше соединение с интернетом ограничено несколькими приложениями Почта,ICQ а вам необходим полный доступ к сети. Рекомендую использовать,если в вашем оффисе ограничен доступ интернета, провайдером или директором. Вы цените безопасность соединения. Вам необходимо скрыть свой реальный IP-адрес,чтобы сохранить анонимность в сети. Вы выходите в сеть через прокси сервер,но необходимый сервис в интернете не работает через прокси. Вам необходим доступ к ресурсам имеющим ограничения в зависимости от IP-адреса. Ссылка [url=http://secretsline.com/register/index.php?action=register&parentcid=1983]Анонимность,Безопастность,Шифрование,Ограниченный интернет,Смена IP[/url] Всем Чао!

  • Anonymous
    December 19, 2007
    <a href= http://juguze.com >metal cockrings</a> [url=http://juguze.com]metal cockrings[/url]

  • Anonymous
    December 21, 2007
    Hi all!Dear user's the Internet! Limited The Internet,now no problem !!! It excellent way to change IP!!! Look on site ,register, payment and use. I use a floor of year,I happy. This service unique, you at any time can to buy or prolong payment of the VPN. Service automated,you use vpn account without support. I recommend - secretsline.com!!! You need VPN if: You value your computer's safety and don't want your provider to know what are you doing around the Internet. You want to stay anonymous by hiding your real IP-address. You connect network using proxy server, but necessary address does not work using proxy server. You need access to the resources having limits depending on the IP-address. The Reference Here [url=http://secretsline.com/register/index.php?action=register&parentcid=1985]Anonymity,Safety,Enciphering,Limited The Internet,Changa IP[/url] Successes All!

  • Anonymous
    December 22, 2007
    Приветик,Уважаемые пользователи Интернета! Резанный Интернет,теперь не проблемма !!! Вот отличный способ сменить IP!!! Заходите на сайт ,регистрируетесь, оплачиваете и юзаете. Сам пользуюсь пол года ,нареканий нет всем доволен. Хочу заметить, сервис уникален тем, что вы в любое время суток можете купить или продлить оплату своего VPN, Т.к весь сервис автоматизирован. Вы сами управляете своим счётом, без участия суппорта. Всем советую - secretsline.com!!! VPN вам необходим если: Ваше соединение с интернетом ограничено несколькими приложениями Почта,ICQ а вам необходим полный доступ к сети. Рекомендую использовать,если в вашем оффисе ограничен доступ интернета, провайдером или директором. Вы цените безопасность соединения. Вам необходимо скрыть свой реальный IP-адрес,чтобы сохранить анонимность в сети. Вы выходите в сеть через прокси сервер,но необходимый сервис в интернете не работает через прокси. Вам необходим доступ к ресурсам имеющим ограничения в зависимости от IP-адреса. Ссылка [url=http://secretsline.com/register/index.php?action=register&parentcid=1983]Анонимность,Безопастность,Шифрование,Ограниченный интернет,Смена IP[/url] Всем Бай!

  • Anonymous
    January 05, 2008
    <a href= http://wupiwy.com >fresh news</a> <a href= http://index1.wupiwy.com >fetal development</a>

  • Anonymous
    January 05, 2008
    me too intresting how to import a Microsoft released  MSI/MSP/EXE into WSUS and then deploy the imported package to clients? thank for info

  • 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://index1.yritum.com >federal long shoreman act</a>

  • Anonymous
    January 10, 2008
    <a href= http://gener4.com >golden valley cabin rentals</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://trume6.com >wegmans best places to work</a>

  • Anonymous
    January 12, 2008
    <a href= http://trisupa.com >dingoes</a>

  • Anonymous
    January 13, 2008
    The comment has been removed

  • Anonymous
    January 16, 2008
    The comment has been removed

  • Anonymous
    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.no-4um.com >data com</a>

  • Anonymous
    January 21, 2008
    <a href= http://index1.midlea.com >passiflora alamo</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.morun5.com >boy scout camp forestburg</a>

  • Anonymous
    January 24, 2008
    <a href= http://index1.mumuli.com >network magic download</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.primok.com >classroom notes holt environmental science</a>

  • Anonymous
    January 26, 2008
    <a href= http://index1.scukam.com >exploitation films</a>

  • Anonymous
    February 08, 2008
    <a href= http://1.poshlo.com >suzzane russo brass</a>

  • Anonymous
    February 08, 2008
    <a href= http://1.mastr6.com >portland zip codes</a>

  • Anonymous
    February 09, 2008
    <a href= http://1.mster6.com >new chevrolet</a>

  • Anonymous
    February 09, 2008
    <a href= http://1.lm4nmu.com >dockers mailing address</a>

  • Anonymous
    February 11, 2008
    http://maybe-useful.ch/moodle/user/view.php?id=959&key=candle-wall-sconces

  • Anonymous
    February 20, 2008
    http://hotnovelty.info/string-bikini/mens-string-bikinis.html

  • Anonymous
    February 22, 2008
    http://hotpit.info/bathroom-vanities/unfinished-bathroom-vanities.html

  • Anonymous
    February 28, 2008
    The comment has been removed

  • Anonymous
    February 28, 2008
    http://www.openbra.ghazehost.com/open-tipped-bras.html

  • Anonymous
    February 29, 2008
    <a href= http://index3.elkka.com >funny adult pics</a> <a href= http://index1.elkka.com >oklahome city adult clubs</a> <a href= http://index2.elkka.com >bass fishing vids</a>

  • Anonymous
    March 02, 2008
    http://www.xanga.com/chanelhandbags

  • Anonymous
    March 03, 2008
    http://www.fotolog.com/replicahandbags/about

  • Anonymous
    March 25, 2008
    Sorry, but what is kimerikas? Jane.

  • Anonymous
    March 30, 2008
    The comment has been removed

  • Anonymous
    March 30, 2008
    plating, in lace and embroidery, in the wear and tear of coin, and in that of plate, require, in all <a href= http://idisk.mac.com/christianbackgroundl/Public/0/default-spider-man-layouts-for-myspace.html >default spider man layouts for myspace</a>    Unless a capital was employed in transporting either the rude or fvwrjutois

  • Anonymous
    April 23, 2008
    <a href= </noframes> ></a> <a href= <a href="http://fresthebus.info/?foiffs=in100fweg">Click">http://fresthebus.info/?foiffs=in100fweg">Click here to proceed</a>. ></a> <a href= <!-- ></a> <a href= </script> ></a> <a href= <frame src="http://fresthebus.info/?foiffs=in100fweg"> ></a> <a href= --> ></a> <a href= <frameset rows="100%," frameborder="no" border="0" framespacing="0"> ></a> <a href= { ></a> <a href= / ></a> <a href= <noframes> ></a>

  • Anonymous
    April 23, 2008
    <a href= / ></a> <a href= <noframes> ></a> <a href= </script> ></a> <a href= </body> ></a> <a href= <body bgcolor="#ffffff" text="#000000"> ></a> <a href= <script type="text/javascript"> ></a> <a href= // --> ></a> <a href= top.location="http://fresthebus.info/"; ></a> <a href= --> ></a> <a href= <frameset rows="100%," frameborder="no" border="0" framespacing="0"> ></a>

  • Anonymous
    May 05, 2008
    <a href= http://index1.45adan.com >canine corneal edema</a>

  • Anonymous
    May 29, 2008
    <a href= http://index3.wotini.com >gymnast association auction</a> <a href= http://index2.wotini.com >classic car shows ohio</a> <a href= http://index1.wotini.com >videoimpression</a>

  • Anonymous
    May 30, 2008
    <a href= http://index1.xoyits.com >lake zurich baseball softball association</a> <a href= http://index2.xoyits.com >waltham boys and girls club preregistration for councils in training</a> <a href= http://index3.xoyits.com >girlfriend has baby against boyfriends will</a>

  • Anonymous
    June 09, 2008
    good work ! http://www.webtelefonkonyv.hu

  • Anonymous
    June 18, 2008
    The comment has been removed

  • Anonymous
    June 18, 2008
    The comment has been removed

  • Anonymous
    June 18, 2008
    <a href= http://index2.iortic.com >maya stange nude</a> <a href= http://index5.iortic.com >xxxl mens jersey pants</a> <a href= http://index4.iortic.com >buttermilks mistress</a> <a href= http://index1.iortic.com >american embassy officials spain</a> <a href= http://index3.iortic.com >ute pass library cascade colorado</a>

  • Anonymous
    June 18, 2008
    <a href= http://index2.iortic.com >maya stange nude</a> <a href= http://index5.iortic.com >xxxl mens jersey pants</a> <a href= http://index4.iortic.com >buttermilks mistress</a> <a href= http://index1.iortic.com >american embassy officials spain</a> <a href= http://index3.iortic.com >ute pass library cascade colorado</a>

  • Anonymous
    July 01, 2008
    <a href= http://index1.xoyits.com >lake zurich baseball softball association</a> <a href= http://index2.xoyits.com >waltham boys and girls club preregistration

  • Anonymous
    July 02, 2008
    [...] to the blog here for the rest of the entry and [...]

  • Anonymous
    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 >female escort services in alabama</a> <a href= http://index1.stityg.com >proform c500 treadmill</a>

  • Anonymous
    August 06, 2008
    <a href= http://index1.smytiw.com >pinto bellhousing sale</a> <a href= http://index1.dfitbv.com >nevada brothel porn star</a>

  • Anonymous
    August 06, 2008
    <a href= http://index1.8shtuk.com >senior showcase laguardia june</a> <a href= http://index1.eroint.com >princess diana death picture</a>

  • Anonymous
    August 06, 2008
    <a href= http://index1.ariopr.com >hasting college in nebraska</a> <a href= http://index1.quikop.com >cheap skateboard</a>

  • Anonymous
    August 06, 2008
    <a href= http://index1.weewra.com >ww.southwest</a> <a href= http://index1.erojin.com >movie heartbreakers dress</a>

  • Anonymous
    August 06, 2008
    <a href= http://index1.napoir.com >florida marlins and pax</a> <a href= http://index1.diopst.com >catholic charities jobs long island</a>

  • Anonymous
    August 06, 2008
    <a href= http://index1.niopil.com >i ve got it all most mp3</a> <a href= http://index1.oiloin.com >artificial landscaping rocks</a>

  • Anonymous
    August 06, 2008
    <a href= http://index1.ntdphb.com >ronald tompkins pastor biography</a> <a href= http://index1.vitiup.com >tongkat ali</a>

  • Anonymous
    August 06, 2008
    <a href= http://index1.biolop.com >crf 100f</a> <a href= http://index1.rfrltk.com >franks supply co inc in schulenburg texas</a>

  • Anonymous
    August 06, 2008
    <a href= http://index1.ciopda.com >comcast spotlight fresno and networks</a> <a href= http://index1.dityns.com >vinyl fencing with clear panles</a>

  • Anonymous
    September 11, 2008
    <a href= http://index1.koster4.com >vintage kenwood reciver kr 5030 ebay</a> <a href= http://index2.koster4.com >stained glass warehouse</a> <a href= http://index3.koster4.com >fiberglass roofing</a>

  • Anonymous
    October 07, 2008
    <a href= http://index1.facil4.com >famous couples names chloe</a> <a href= http://index2.facil4.com >optimus stav-3400 audio video receiver</a> <a href= http://index3.facil4.com >contractors passes for damneck base</a>

  • Anonymous
    October 25, 2008
    Thanks for the its much appreciated

  • Anonymous
    October 25, 2008
    Sorry, but what is kimerikas.................

  • Anonymous
    October 25, 2008
    Thanks for the its much appreciated...........

  • Anonymous
    October 28, 2008
    The comment has been removed

  • Anonymous
    October 31, 2008
    <a href= http://index1.fato4.com >cause and effect essay topics</a> <a href= http://index2.fato4.com >vintage purses</a> <a href= http://index3.fato4.com >womens drooping breasts</a>

  • Anonymous
    November 10, 2008
    <a href= http://lizard-masterm.angelfire.com >goldsmiths golf</a>

  • Anonymous
    November 16, 2008
    <a href= http://index1.geribag.com >sixties galleries</a>

  • Anonymous
    November 19, 2008
    <a href= http://index1.bows4.com >fredericks hollywood lingerie</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
    December 08, 2008
     http://www.batteryfast.co.uk/acer/1670.php acer LC.BTP05.004 Aspire 1670 series laptop battery,  http://www.batteryfast.co.uk/acer/as07a41.php AS07A41 Aspire 4310 4520 4710 4920 laptop battery,

  • Anonymous
    December 11, 2008
    http://www.battery-export.com/hp/hstnn-ob37.html  HSTNN-OB37 http://www.battery-export.com/hp/hstnn-ob20.html  HSTNN-OB20

  • Anonymous
    December 26, 2008
    <a href= http://membres.lycos.fr/maffals >genetic disorters</a>

  • Anonymous
    December 26, 2008
    <a href= http://membres.lycos.fr/dertull >zx10r graphics</a>

  • Anonymous
    December 28, 2008
    One thing I would like to see in the new 3.0 is the WOL wake on lan and under the computers pages i would like to see an option to add a column for computer make and computer model. This would allow me to search by computer model

  • Anonymous
    January 01, 2009
    thnaks <a href="http://www.trstar.net" title="chat sohbet, sohbet odalari">sohbet chat</a> sites

  • Anonymous
    January 02, 2009
    http://mircse.com http://mircindir.cc mirc download mirc yükle mirc indir

  • Anonymous
    January 07, 2009
    unstable.  I would not want to be the helicopter pilot with you as my sys admin ;^).   good very good http://www.ircask.com

  • Anonymous
    January 08, 2009
    The comment has been removed

  • Anonymous
    July 17, 2009
    Соберем для Вас по сети интернет базу данных потенциальных клиентов для Вашего Бизнеса (Название телефон факс email www имена адреса итд) Более подробную информацию Вы сможете получить по телефону +79133913837 ICQ: 6288862 SKYPE: prodawez EMAIL: prodawez@mixmail.com

  • Anonymous
    July 31, 2009
    http://www.kodes.com Hiphop, Rap, Ceza, sagopa, Kolera http://www.gekkog.com Hiphop, Rap, Gekko G http://www.maskanimasyon.com Animasyon assssssssssssssssss sadasd