I renamed local PC name and after reboot SharePoint 2010 Foundation does not work anymore.
At this page it is described to use the PowerShell command:
Rename-SPServer [-Identity] <OriginalServerName> -Name <NewServerName>
I launched PowerShell with Administrator permissions but the execution failed with the message
"Rename-SPServer : The farm is unavailable"
Do you known which could be the problem?