< Back

Stop-GCWindowsUpdate

Mon Jan 13, 2020 8:08 pm

NAME Stop-GCWindowsUpdate



SYNOPSIS

Completes the Windows Update initiated by Start-GCWindowsUpdate.





SYNTAX

Stop-GCWindowsUpdate [<CommonParameters>]





DESCRIPTION

Due to the latest versions of Microsoft Windows being rather forward about applying

updates and rebooting machines, this function allows you to install the updates on your own schedule.



Stop-GCWindowsUpdate performs the following tasks:

- Stops the Windows Update service

- Sets the Windows Update service, named wuauserv, to a StartType of Disabled



WARNING: Running this function will prevent your computer from receiving Windows Updates

until you either enable the Windows Update service or run the Start-GCWindowsUpdate function.





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.String





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>The following example installs all required updates on the local machine:



> Stop-GCWindowsUpdate











RELATED LINKS