< Back

WindowsUpdateInstall

Sat Jan 11, 2020 4:19 am

NAME WindowsUpdateInstall



SYNOPSIS

Autonance DSL task to install Windows updates.





SYNTAX

WindowsUpdateInstall [-ComputerName] <String> [-Credential <PSCredential>] [-All] [<CommonParameters>]





DESCRIPTION

The WindowsUpdateInstall task is part of the Autonance domain-specific

language (DSL). The task will install all pending Windows updates on the

target Windows computer by using WinRM and the 'Microsoft.Update.Session'

COM object. A user account can be specified with the Credential parameter.





PARAMETERS

-ComputerName <String>

This task restarts the specified Windows computer.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Credential <PSCredential>

Specifies a user account that has permission to perform the task.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-All [<SwitchParameter>]

If specified, all available updates will be installed without a query.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<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



NOTES





Author : Claudio Spizzi

License : MIT License





RELATED LINKS

https://github.com/claudiospizzi/Autonance