Take a look at the PowerShell Module for VMware Validated Solutions which can be installed directly from the Microsoft PS Gallery.
In order to automate some elements of the Identity and Access Management for VMware Cloud Foundation validated solution we needed to develop a number of cmdlets to manage Workspace ONE Access. As part of that work we needed to not only configure Active Directory as a source for Workspace ONE Access but also setting the configuration and trigger the initial sync.
In particular take a look at the following cmdlets which you could use to develop a script for your own use case:
Note: Query answered?, please mark this response as "Correct" or "Helpful".