Enable HPOVRemoteSyslog - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Enable-HPOVRemoteSyslog

Enable remote syslog.

SYNTAX

Enable-HPOVRemoteSyslog[ [-Async] <SwitchParameter>][ [-ApplianceConnection] <Object>] [<CommonParameters>]

Detailed Description

The remoteSyslog API provides the ability to configure remote logging on devices managed by OneView. This Cmdlet handles enabling the remote syslog configuration. Only a single destination can be set. When configured, the HPE OneView appliance will deploy the SysLog settings to managed resources automatically.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? false
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Async <SwitchParameter>

Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.

Aliases None
Required? false
Position? named
Default value false
Accept pipeline input? false
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 (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

None. You cannot pipe objects to this Cmdlet.

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

If successful, returns Appliance Async Task object to monitor.

System.Collections.ArrayList <HPOneView.Appliance.TaskResource>

Collection of Appliance Async Task objects to monitor.

Examples

 -------------------------- EXAMPLE 1 --------------------------

Enable-HPOVRemoteSyslog

Enable remote syslog configuration on all connected appliances.

 -------------------------- EXAMPLE 2 --------------------------

Enable-HPOVRemoteSyslog -ApplianceConnection appliance1.domain.com -Async | Wait-HPOVTaskComplete

Enable remote syslog configuration on the specific connected appliance.

Related Links


Top

HPE OneView 4.00 Library

Enable-HPOVRemoteSyslog

Enable remote syslog.

SYNTAX

Enable-HPOVRemoteSyslog[ [-Async] <SwitchParameter>][ [-ApplianceConnection] <Object>] [<CommonParameters>]

Detailed Description

The remoteSyslog API provides the ability to configure remote logging on devices managed by OneView. This Cmdlet handles enabling the remote syslog configuration. Only a single destination can be set. When configured, the HPE OneView appliance will deploy the SysLog settings to managed resources automatically.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? false
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Async <SwitchParameter>

Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.

Aliases None
Required? false
Position? named
Default value false
Accept pipeline input? false
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 (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

None. You cannot pipe objects to this Cmdlet.

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

If successful, returns Appliance Async Task object to monitor.

System.Collections.ArrayList <HPOneView.Appliance.TaskResource>

Collection of Appliance Async Task objects to monitor.

Examples

 -------------------------- EXAMPLE 1 --------------------------

Enable-HPOVRemoteSyslog

Enable remote syslog configuration on all connected appliances.

 -------------------------- EXAMPLE 2 --------------------------

Enable-HPOVRemoteSyslog -ApplianceConnection appliance1.domain.com -Async | Wait-HPOVTaskComplete

Enable remote syslog configuration on the specific connected appliance.

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️