Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.
This repository was archived by the owner on Jul 6, 2022. It is now read-only.

Connect-To: Add WSUS Connection Type #4

Description

@OCram85

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/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions