I need to configure the MMA agent on some Server Core machines to report to an additional workspace. Does anybody know how to script this in PowerShell? I know it can be set in the OMS tab on GUI machines but I don't know how to script it for the Core servers.
If I uninstall the agent can I alter the script to accept two workspaces or does it only accept one?