通过PowerShell自动执行WSUS
我已经写了一个脚本,目的是快速pipe理WSUS进程,而且我有一些硬编码的东西,但宁愿使用PowerShell。 特别是Approve-WsusUpdate的“目标”组。 目前我正在做这样的事情: #Select Target Group for Update Approval: $TargetComputerGroups = "All Computers", "Unassigned Computers", "Clients", "Servers", "Test", "View Templates" $UserPrompt = @" Please select a Computer Group from the below options: 1) All Computers (Selects all of the below) 2) Unassigned Computers 3) Clients 4) Servers 5) Test 6) View Templates Enter selection "@ […]