Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 208545

Re: Problems with Get-VMHostSyslogServer

$
0
0

I've found that this works, to return what I was looking for:

 

> $ESXHost = Get-VMHost esx001

> $SyslogServer = Get-AdvancedSetting -Entity $ESXHost -Name "Syslog.global.logHost"

> $SyslogServer.Value

tcp://<FQDN of vCenter>:514

 

PowerCLI Z:\PHA Scripts\PowerCLI Scripts> $SyslogServer | gm

 

 

 

 

   TypeName: VMware.VimAutomation.ViCore.Impl.V1.AdvancedSettingImpl

 

 

Name             MemberType Definition

----             ---------- ----------

ConvertToVersion Method     T VersionedObjectInterop.ConvertToVersion[T]()

Equals           Method     bool Equals(System.Object obj)

GetHashCode      Method     int GetHashCode()

GetType          Method     type GetType()

IsConvertableTo  Method     bool VersionedObjectInterop.IsConvertableTo(type type)

ToString         Method     string ToString()

Client           Property   VMware.VimAutomation.ViCore.Interop.V1.VIAutomation Client {get;}

Description      Property   string Description {get;}

Entity           Property   VMware.VimAutomation.Sdk.Types.V1.VIObject Entity {get;}

Id               Property   string Id {get;}

Name             Property   string Name {get;}

Type             Property   System.Nullable[VMware.VimAutomation.ViCore.Types.V1.AdvancedSettingType] Type {get;}

Uid              Property   string Uid {get;}

Value            Property   System.Object Value {get;}


Viewing all articles
Browse latest Browse all 208545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>