PowerShell Logo Small

Deny-WsusUpdate



This is the built-in help made by Microsoft for the command 'Deny-WsusUpdate', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Declines the update for deployment.

SYNTAX


Deny-WsusUpdate -Update <WsusUpdate> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Deny-WsusUpdate cmdlet declines the specified cmdlet for deployment. To use this cmdlet, run the Get-WsusUpdate cmdlet and pipe the resulting WsusUpdate object into this
cmdlet. This operation requires Windows Server Update Services (WSUS) Administrator privileges.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=789386
Get-WsusUpdate

REMARKS

<

Examples


EXAMPLE 1

PS C:\> Get-WsusUpdate -Classification All -Approval Unapproved -Status FailedOrNeeded | Deny-WsusUpdate



This example declines all unapproved updates with a status of failed or needed.