How may the IPs be changed for the certain subscriptions?
Collect the list of subscriptions you are about to change IP addresses in text file
C:\\domains.txt. Write each subscription name in new line.
To get a list of all subscription run following command in Command Line:
"%plesk_bin%\\dbclient.exe" --direct-sql --sql="select name from domains where webspace_id=0" > C:\\domains.txt
Save the file and close.
- Open Command Line and run the following script:
for /F "tokens=1" %d in ('type C:\\domains.txt') do "%plesk_cli%"\\domain.exe" -u %d -ip <NEW_IP>