Not sure why you are looking for script to edit port number.
You can use xp_regwrite SP to edit port number in registry keys. But its not recommended to edit reg keys. Using Configuration Manager is the right option.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply