PSCredentialStore
PSCredentialStore copied to clipboard
Connect-To: Add WSUS Connection Type
General
Add another connection type called WSUS. Should simplify connecting and working with a remote WSUS instance.
Snippets
[void][reflection.assembly]::LoadWithPartialName("Microsoft.UpdateServices.Administration")
$ServerName = "XXXX"
$useSecureConnection = $false
$portNumber = 8530
$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::getUpdateServer($serverName, $useSecureConnection, $portNumber)
Related Links
https://mcpmag.com/articles/2016/01/20/connecting-to-wsus-with-powershell.aspx https://blogs.technet.microsoft.com/sudheesn/2015/02/26/connect-to-wsus-server-from-powershell/