Notify All Active vSphere Users (PowerCLI version)

Steve Jin recently posted How to Notify All the Active vSphere Users on his DoubleCloud blog. Below are some functions to make this easy to do via PowerCLI.

Function Get-VIServiceMessage {
    $sessionManager = Get-View SessionManager
Function Set-VIServiceMessage {
    param (
        [String]$message = $(throw "Must specify a message.")
    $sessionManager = Get-View SessionManager
Function Remove-VIServiceMessage {

Leave a Comment

Your email address will not be published.