Invoke-Command -computername "servername" -ScriptBlock {ipconfig}
$VMlist = get-vm
foreach ($VM in $VMList)
	{
		Invoke-Command -computername $VM -ScriptBlock {ipconfig}
	}