Comment use Powershell to see status of an mise à jour in server?
Comment use Powershell to see status of an mise à jour in server?
I made an update server using WSUS 6.3 on Windows Server 2012 R2 Datacenter. I want to see the status of an update (e.g: KB3035583) using powershell. I know there are some way to do that but I don't know any of them.
Re: Comment use Powershell to see status of an mise à jour in server?
Use following commands:
```
$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::getUpdateServer()
$wsus.SearchUpdates("KB3035583")
```
See the output for details of the update. Please note that KB number is not a unique specifier of an update, i.e multiple updates could have same KB number. So you may see multiple result from `.SearchUpdates` method.
```
$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::getUpdateServer()
$wsus.SearchUpdates("KB3035583")
```
See the output for details of the update. Please note that KB number is not a unique specifier of an update, i.e multiple updates could have same KB number. So you may see multiple result from `.SearchUpdates` method.