View Single Post
Old 11-26-2007   #3 (permalink)
Bob Landau


 
 

Re: Has anyone used Powershell to script WSUS?

Thanks Hal,

Just so you know I do have the code working correctly I've found work-arounds.

But I don't believe that Powershell is handling the marshaling correctly
when the return value is passed back or when your assigning the results of a
pipe expression.

I send you a small subset of my code tomorrow. The entire code is just too
big to post.

"Hal Rottenberg" wrote:
Quote:

> Bob Landau wrote:
Quote:

> > I've written a script which will fetch a category and classification on the
> > WSUS server; for instance 'Windows XP' and 'Critical Updates', 'Security
> > Updates', 'Service Packs', 'Update Rollups' respectively.
>
> Post some code? I have a WSUS service I could test against, but I haven't
> scripted against it yet.
>
>
> --
>
> Hal Rottenberg
> Blog: http://halr9000.com
> Webmaster, Psi (http://psi-im.org)
> Co-host, PowerScripting Podcast (http://powerscripting.net)
>
My System SpecsSystem Spec