| external help file | Module Name | online version | schema |
|---|---|---|---|
WindowsUpdateSetting-help.xml |
WindowsUpdateSetting |
2.0.0 |
Configure Windows update deferral settings.
Set-WindowsUpdateDeferral [[-Feature] <Int32>] [[-Quality] <Int32>] [-Passthru] [-WhatIf] [-Confirm]
[<CommonParameters>]Advanced settings under Windows Update allow you to defer Feature and/or Quality updates for up to 365 days. Use this command to set those values from a PowerShell prompt.
PS C:\> Set-WindowsUpdateDeferral -Feature 30 -Quality 7 -Passthru
Computername FeatureUpdateDeferral QualityUpdateDeferral
------------ --------------------- ---------------------
BOVINE320 30 7Defer feature updates for 30 days and quality updates for 7 days. This command does not write anything to the pipeline unless you use -Passthru.
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnter the number of days (0-365) to defer feature updates
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseDisplay the current settings.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnter the number of days (0-365) to defer quality updates
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
Learn more about PowerShell: https://buttondown.com/behind-the-powershell-pipeline