Archive

Archive for December, 2010

Get the FQDN of your host with PowerShell

December 31, 2010 16 comments

I was looking into a way to get the FQDN of my server in PowerShell.  There are some Environment Variables (like USERDNSDOMAIN), but they reflect the current logged on user and not the computer.

 

Use the following code to list your FQDN:

$objIPProperties = [System.Net.NetworkInformation.IPGlobalProperties]::GetIPGlobalProperties()

"{0}.{1}" -f $objIPProperties.HostName, $objIPProperties.DomainName

Done!

Categories: PowerShell

Resolving “The server fault ‘SystemError’ had no message” when doing “Edit Settings” on a VM converted from a Template

December 8, 2010 5 comments

When i was trying to edit a VM converted from a template on vCenter 4.1, i stumbled upon the following error:

image

It can resolved by following these steps:

Read more…

Categories: VMware, vSphere