< Back
Get-iBMCSyslogServer
Post
NAME Get-iBMCSyslogServer
SYNOPSIS
Get iBMC Syslog Notification Servers.
SYNTAX
Get-iBMCSyslogServer [-Session] <RedfishSession[]> [<CommonParameters>]
DESCRIPTION
Get iBMC Syslog Notification Servers.
PARAMETERS
-Session <RedfishSession[]>
iBMC redfish session object which is created by Connect-iBMC cmdlet.
A session object identifies an iBMC server to which this cmdlet will be executed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
PSObject[][]
Returns PSObject Array indicates Syslog Notification Servers if cmdlet executes successfully.
In case of an error or warning, exception will be returned.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> $Servers = Get-iBMCSyslogServer $session
PS C:\\> $Servers
Host : 10.1.1.2
MemberId : 0
Enabled : False
Address :
Port : 0
LogType : {OperationLog, SecurityLog, EventLog}
Host : 10.1.1.2
MemberId : 1
Enabled : False
Address :
Port : 0
LogType : {OperationLog, SecurityLog, EventLog}
Host : 10.1.1.2
MemberId : 2
Enabled : False
Address :
Port : 0
LogType : {OperationLog, SecurityLog, EventLog}
Host : 10.1.1.2
MemberId : 3
Enabled : False
Address :
Port : 0
LogType : {OperationLog, SecurityLog, EventLog}
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCSyslogSetting
Set-iBMCSyslogSetting
Set-iBMCSyslogServer
Connect-iBMC
Disconnect-iBMC
SYNOPSIS
Get iBMC Syslog Notification Servers.
SYNTAX
Get-iBMCSyslogServer [-Session] <RedfishSession[]> [<CommonParameters>]
DESCRIPTION
Get iBMC Syslog Notification Servers.
PARAMETERS
-Session <RedfishSession[]>
iBMC redfish session object which is created by Connect-iBMC cmdlet.
A session object identifies an iBMC server to which this cmdlet will be executed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
PSObject[][]
Returns PSObject Array indicates Syslog Notification Servers if cmdlet executes successfully.
In case of an error or warning, exception will be returned.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> $Servers = Get-iBMCSyslogServer $session
PS C:\\> $Servers
Host : 10.1.1.2
MemberId : 0
Enabled : False
Address :
Port : 0
LogType : {OperationLog, SecurityLog, EventLog}
Host : 10.1.1.2
MemberId : 1
Enabled : False
Address :
Port : 0
LogType : {OperationLog, SecurityLog, EventLog}
Host : 10.1.1.2
MemberId : 2
Enabled : False
Address :
Port : 0
LogType : {OperationLog, SecurityLog, EventLog}
Host : 10.1.1.2
MemberId : 3
Enabled : False
Address :
Port : 0
LogType : {OperationLog, SecurityLog, EventLog}
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCSyslogSetting
Set-iBMCSyslogSetting
Set-iBMCSyslogServer
Connect-iBMC
Disconnect-iBMC