Cloning the VM
Copy existing SharePoint VM. In this case I have VS2010 SharePoint Foundation dev VM. I wanted to clone it and upgrade it to Enterprise, to have both VMs in my kit. This was a standalone farm installation with a full SQL 2k8 install.
- Rename the SharePoint server.
Rename-SPServer -Identity "wfb1" -Name "WFE1"
- This example changes the name of the SharePoint server wfb1 to WFE1.
- Rename the SQL Server.
- Get current server name.
SELECT @@SERVERNAME AS 'Current_Name'
Execute the following, substituting your values.
sp_addserver "New_Name", local