Set HPOVRemoteSupportDataCollectionSchedule - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Set-HPOVRemoteSupportDataCollectionSchedule

Modify Remote Support Schedule settings on an appliance.

SYNTAX

Set-HPOVRemoteSupportDataCollectionSchedule [-DateTime] <DateTime>[ [-Type] <String>][ [-Async] <SwitchParameter>][ [-ApplianceConnection] <Object>] [<CommonParameters>]

Detailed Description

Use this Cmdlet to set a new schedule to collect Remote Support logs. There are two defined schedules: Active Health scheduled on a weekly basis, and Server Basic Configuration scheduled on a monthly basis. Either scheduled collection task can be modified, to set the Day of Week, Day of Month, Hour and Minute. When supplying a DateTime value, the Day will be converted to the Day of Month, and Day of the Week respectively. For instance, if "Oct 30, 2016 13:00" is provided, Day of Month will be every "30th" day, and Day of Week will be every "Sunday" (which Oct 30th 2016 is a Sunday). To schedule different Day of the Month and Day of the Week, use the -Type paramter to specify AHS or Basic. The -DateTime paramter value will only be applied to that schedule.

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

-DateTime <DateTime>

Specify a DateTime value for the schedule to execute. AHS schedule is executed on a weekly basis, and Server Basic Configuration is executed on a monthly basis. When needing to configure a schedule for AHS log collection, the Month Day"s week day name will be used. For instance, if "Oct 30, 2016" is provided and scheduling for AHS log collection, the task will execute every Sunday, which October 30th 2016 is on a Sunday. When providing the hour of the day to execute, the value must be in 24hr time.

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

-Type <String>

Specify the schedule type to modify. Allowed value is: * AHS *Basic If no value is provided, both schedules will be modified.

Aliases None
Required? false
Position? named
Default value
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]

Async task Resource object for modifying the Remote Support Collection schedules.

Examples

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

Set-HPOVRemoteSupportDataCollectionSchedule -DateTime "11/01/2016 20:00"

Set a new Remote Support schedule for November 11, 2016, which is a Monday, at 20:00 (8:00pm).

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

Set-HPOVRemoteSupportDataCollectionSchedule -Type AHS -DateTime "11/01/2016 20:00"

Set a new schedule to collect AHS logs every Monday of every week, at 20:00 (8:00pm).

Related Links


Top

HPE OneView 4.00 Library

Set-HPOVRemoteSupportDataCollectionSchedule

Modify Remote Support Schedule settings on an appliance.

SYNTAX

Set-HPOVRemoteSupportDataCollectionSchedule [-DateTime] <DateTime>[ [-Type] <String>][ [-Async] <SwitchParameter>][ [-ApplianceConnection] <Object>] [<CommonParameters>]

Detailed Description

Use this Cmdlet to set a new schedule to collect Remote Support logs. There are two defined schedules: Active Health scheduled on a weekly basis, and Server Basic Configuration scheduled on a monthly basis. Either scheduled collection task can be modified, to set the Day of Week, Day of Month, Hour and Minute. When supplying a DateTime value, the Day will be converted to the Day of Month, and Day of the Week respectively. For instance, if "Oct 30, 2016 13:00" is provided, Day of Month will be every "30th" day, and Day of Week will be every "Sunday" (which Oct 30th 2016 is a Sunday). To schedule different Day of the Month and Day of the Week, use the -Type paramter to specify AHS or Basic. The -DateTime paramter value will only be applied to that schedule.

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

-DateTime <DateTime>

Specify a DateTime value for the schedule to execute. AHS schedule is executed on a weekly basis, and Server Basic Configuration is executed on a monthly basis. When needing to configure a schedule for AHS log collection, the Month Day's week day name will be used. For instance, if "Oct 30, 2016" is provided and scheduling for AHS log collection, the task will execute every Sunday, which October 30th 2016 is on a Sunday. When providing the hour of the day to execute, the value must be in 24hr time.

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

-Type <String>

Specify the schedule type to modify. Allowed value is: * AHS *Basic If no value is provided, both schedules will be modified.

Aliases None
Required? false
Position? named
Default value
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]

Async task Resource object for modifying the Remote Support Collection schedules.

Examples

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

Set-HPOVRemoteSupportDataCollectionSchedule -DateTime "11/01/2016 20:00"

Set a new Remote Support schedule for November 11, 2016, which is a Monday, at 20:00 (8:00pm).

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

Set-HPOVRemoteSupportDataCollectionSchedule -Type AHS -DateTime "11/01/2016 20:00"

Set a new schedule to collect AHS logs every Monday of every week, at 20:00 (8:00pm).

Related Links


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