we trying to setup an OC X environment for our company. For exchanging large data with customers, distributors and external staff we setup CIFS shares which are assigned to the users by Microsoft Active Direcotry security groups.
This groups are generated by an automated powershell script process.
So now it would be great if I can remotely execute an command for configure the CIFS storage connection and the OC Group assignment in the same script as well.
You can try to use the occ files_external:* commands (you can check the full list with occ list).
I haven’t play around with those commands, so I can’t give you an snipet, but you should be able to configure the connection from there. I’d recommend you to try it first in a clean environment because you’ll likely need several tries to achieve the final result.