EasyCloud Cmdlets for Windows Update

We have added some Cmdlets, with them you can handle windows updates:

Install-CmOsUpdates

Installs all pending updates. It is also possible to install only a few updates by specifying the parameter ‚UpdateTitle‘. By the optional parameter „reboot“ an automatic restart after installation can be initiated if necessary.

List-CmOsInstalledUpdates

Returns a list of the installed updates.

Get-CmOsPendingReboot

Checks if the specified system needs a reboot.

Restart-CmOsUpdates

Immediately performs system shutdown and restart without any further confirmation.

Search-CmOsUpdates

Searches for all the applicable software updates and list them. Returns a list with the update titles.

Measure-CmOsUpdates

Returnes the number of applicable software updates.

Test-CmOsUpdates

Searches for all the applicable software updates and list them. Checks whether updates are available, returns True / False. The optional parameter „mandatory“ limits the review to absolutely necessary updates. If the parameter is not specified checks for updates without restriction.