Many think that you have to install the SQL Server client tools to be able to create a SQL Server alias on a client machine. You can do this without installing SQL Server client tools. Windows ships with the SQL Server Client Network Utility. This is all what you need to create an alias. Click run and type cliconfg.exe and you will get the utility. Enable a protocol - e.g. TCP/IP
Click on the Alias tab and click on Add...
Add an alias as the below figure depicts.
So good. thanks
is there any way to do this task using a vb or powershell script?