Just a quick note on connecting to a WSUS server when running on a different port than 80 (i.e.8530):
[void][reflection.assembly]::LoadWithPartialName("Microsoft.UpdateServices.Administration")
$updateServer = "Server_name"
$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::getUpdateServer($updateServer,$false,8530)
2 comments
Any ideas on how to connect when the server has been configured to use SSL? I would assume the command would change to the following
[void][reflection.assembly]::LoadWithPartialName(“Microsoft.UpdateServices.Administration”)
$updateServer = “Server_name”
$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::getUpdateServer($updateServer,$True,8531)
Yes – the second parameter indicates secure connection