Cluster Aware Updating 2012: Automatic updates from command line or powershell

InfoTechdude 156 Reputation points
2020-09-29T12:48:09.8+00:00

Hi,

I'd like to know if there is a way to setup options for automatic updates from cmd/powershell. It needs to be done for CAU to work properly. The settings are in GP and Windows Update settings:

29125-auto-updates.jpg
29174-gp-updates.png

There are some commands like wuauclt or wusa, but i'm not sure if either can do the job.
Thank you!

Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,524 questions
Windows Server Clustering
Windows Server Clustering
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Clustering: The grouping of multiple servers in a way that allows them to appear to be a single unit to client computers on a network. Clustering is a means of increasing network capacity, providing live backup in case one of the servers fails, and improving data security.
953 questions
{count} votes

4 answers

Sort by: Most helpful
  1. TimCerling(ret) 1,156 Reputation points
    2020-09-29T13:38:38.903+00:00

    Here (https://learn.microsoft.com/en-us/powershell/module/clusterawareupdating/?view=win10-ps) is the documentation on the ClusterAwareUpdating PowerShell module.

    1 person found this answer helpful.
    0 comments No comments

  2. udara peiris 671 Reputation points
    2020-09-29T19:04:14.187+00:00

    You can use Powershell to manage updates as below,
    Managing Windows Updates from PowerShell

    0 comments No comments

  3. InfoTechdude 156 Reputation points
    2020-09-30T12:58:03.8+00:00

    @TimCerling(ret) Hi but powershell for CAU does not change automatic update section...

    0 comments No comments

  4. InfoTechdude 156 Reputation points
    2020-10-10T14:01:06.173+00:00

    @udara peiris Thanks. But it looks like this one is not official Microsoft module, but written by some private person- so this won't solve my issue. I guess there is no way to do it from cmd except you write own script or grab it from somewhere?

    0 comments No comments