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

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

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,119 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.
726 questions
{count} votes

4 answers

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

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

    No comments

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

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

    No comments

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

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

    No comments

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

    @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?

    No comments