PowerShell Script to list WSUS Content Path

Here is a script I used to get the physical path of the WSUS content folder for the SUP servers. $ServerNames = @(“ServerSUP01″,”ServerSUP02”) ForEach ($Server in $ServerNames){ Invoke-Command -ComputerName $Server -Scriptblock { $ComputerName = $env:COMPUTERNAME [VOID][Reflection.Assembly]::LoadWithPartialName(“Microsoft.Web.Administration”) $ServerManager = New-Object Microsoft.Web.Administration.ServerManager $Site = $ServerManager.Sites | Where-Object {$_.Name -eq ‘WSUS Administration’} $Path = $Site.Applications | Where-Object {$_.Path…

0

WSUS EULA IIS (Error 401.3)

My current customer has a few SCCM Primary servers with two SUP’s each.  The two SUP’s share a single SUSDB located on the SQL server, and also sharing a single WSUSContent folder located on SUP02. The SCCM clients that are reporting to the SUP01 server are failing to install patches that require a EULA.  Remember,…

0