powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-VMHostSysLogServer



NAME
Get-VMHostSysLogServer

SYNOPSIS
Displays the remote syslog servers of the specified hosts.

SYNTAX
Get-VMHostSysLogServer [-VMHost] [-Server ] []


DESCRIPTION
Displays the remote syslog servers of the specified hosts. The returned object contains the server address and the
port if configured.


PARAMETERS
-VMHost
Specify the host, whose remote syslog server you want to display.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-Server
Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the co
mmand runs on the default servers. For more information about default servers, see the description of Connect-V
IServer.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
NamedIPEndPoint


NOTES




-------------- Example 1 --------------

C:\PS>$sysLogServer = Get-VMHostSysLogServer -VMHost 10.23.123.234


Retrieves the SysLog server of the virtual machine host with IP address 10.23.123.234.






RELATED LINKS
Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Get-VMHostSysLogServer.html
Set-VMHostSysLogServer