I want to configure a Windows Server 2012 to be a client of a WSUS server that is on the network. I want to use PowerShell and avoid using Active Directory.
From a WSUS client server with PowerShell 4 and Windows Server 2012 RS, I tried this three line script:
$wsusserver = ‘FQDNofWSUSserver’
$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::getUpdateServer($wsusserver,$False)
I got this: “Unable to find type [Microsoft.UpdateServices.Administration.AdminProxy]. Make sure that the assembly that contains this type is loaded…”