Hi, I've checked your script and I can see that all superseded updates are not declined. Is there a specific condition, setting needed to be able doing that? Thannks in advance, Augustin
Hi, I've checked your script and I can see that all superseded updates are not declined. Is there a specific condition, setting needed to be able doing that? Thannks in advance, Augustin
As of Subject, I get such an exception executing WSUS_Clean.ps1 with PS 2.0 on my Win 2008 R2 x64 machine. As of http://msdn.microsoft.com/en-u s/library/windo ws/desktop/ms74 5830%28v=vs.85% 29.aspx, it could mean server can't be contacted, but it seems strange to me, since WSUS 3.0 SP2 with KB2734608 and KB 2720211 is up and running. Installed with all defaults (e.g. local IIS on port 80), except I use a remote SQL Server 2005 database for SUSDB. Script is esecuted on the same machine where WSUS 3.0 SP2 is executed. Full exception trace available on request.
works for me. I had to establish connection to the server first. $w = [reflection.assembly]::LoadWit hPartialName("M icrosoft.Update Services.Admini stration") $ww = [Microsoft.Upda teServices.Admi nistration.Admi nProxy]::getUpd ateServer(“loca lhost”,$false,8 530)
Hi, I have downloaded script, set policy to unsigned all that is fine start powershell from Administrator run script only the first line comes up and then it stops there ? any suggestions thanks