Tag Archives: SMTP

Virtual Center Server Settings revealed by Powershell (2)

VI Toolkit Product Manager Carter Shanklin pointed out in the VMware Communities that the script I posted yesterday can be significantly shortened. They have intrduced the shortcut:

Get-View ServiceInstance

So the script I posted yesterday can be reduced to:

$SI = Get-View ServiceInstance
$LicMan = Get-View $SI.Content.LicenseManager
$LicMan.Source.LicenseServer

Here’s another one for you to explore:

$OM = Get-View $SI.Content.Setting
$OM.Setting

…et voilĂ : SNMP and SMTP settings at your fingertips.

Enjoy!

»crosslinked«