Central Administration-Change Port
Using PowerShell:
> Set-SPCentralAdministration -Port 6663
> iisreset
Using CommandPrompt:
> stsadm -o setadminport -port 6663
> iisreset
Using CommandPrompt:
> stsadm -o renamesite -oldurl "http://hostheader/" -newurl "http://hostheader:8888"
> iisreset
SharePoint Server-Rename
Using PowerShell:
> Rename-SPServer -Identity "uglyName" -Name "spcentraladmin"
Using CommandPrompt:
> stsadm -o renameserver -oldservername "uglyName" -newservername "spcentraladmin"
SharePoint Site Collections-Alternate URL:
> New-SPAlternateURL -WebApplication "SP Front End Web App" http://servername1.contoso.com:8888 -Zone "Default"
SharePoint Host Header-Create Site Collection
Using PowerShell:
> New-SPSite http://hosteader.sharepoint/ -OwnerAlias contoso\administrator -HostHeaderWebApplication http://sharepoint
Rename Computer
Using CommandPrompt:
> netdom renamecomputer WIN-94CX1930EF21 /Newname SERVER14
> netdom join /DOMAIN:RWVDEV server13 /userD:RWVDEV\Administrator /password:*
In Windows 7:
> sysdm.cpl -> System -> Computer Name -> Change
All:
> ipconfig /displaydns