How to use the vCenter Server Settings from PowerCLI to send e-mail

PowerCLI logoIf you use PowerCLI to generate reports and send those reports to you via e-mail, you probably have the sender e-mail adress and the smtp server hard coded in your script. But what if one of those changes? You will have to modify all your scripts. Wouldn’t it be easier if you have stored them in one place, so you have to change them only once? Read more of this post