We would like to automate the following steps:
1. Create new VM
2. Install required windows roles and features
3. Install SZC
4. Configure IIS
5. Modify SCZ config files
7. Join SZC to existing storage zone.
Managed to join new server to the existing zone with the following steps 1. Created new StorageCenter through API. 2. Imported 'C:\inetpub\wwwroot\Citrix\StorageCenter\Tools\SfConfig\SfConfig.dll module 3. Ran Join-Zone -Passphrase <secret> -PrimaryController <primary_szc> 4. Updated HKLM:\SOFTWARE\WOW6432Node\Citrix\StorageCenter\StorageCenterID value with ID which I got in step 1.
The last problem is proxy config. Can't find a way to set it.