Skip to content

Set HPOVRemoteSupportSetting

Chris Lynch edited this page Dec 10, 2020 · 23 revisions

HPE OneView 4.10 Library

Set-HPOVRemoteSupportSetting

Configure supported resource Remote Support settings.

SYNTAX

Set-HPOVRemoteSupportSetting [-InputObject] <Object> [-PrimaryContact] <Object>[ [-SecondaryContact] <Object>][ [-ServicePartner] <Object>][ [-Reseller] <Object>][ [-ContractType] <String>][ [-SupportID] <String>][ [-NewSerialNumber] <String>][ [-NewProductNumber] <String>][ [-ApplianceConnection] <Object>][ [-Async] <SwitchParameter>] [<CommonParameters>]

Detailed Description

Use this Cmdlet to configure a supported resources Remote Support collection settings.

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? 9
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
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

-ContractType <String>

Use to override the contract type. If specifying a different contract type, you must supply the SupportID. Allowed values are:

* SupportAgreement
* PackagedSupport.
Aliases None
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-InputObject <Object>

Either a Server Hardware or Enclosure resource to get the configured Remote Support collection settings.

Aliases None
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-NewProductNumber <String>

Use to update the HPE support backend with an updated product number

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

-NewSerialNumber <String>

Use to update the HPE support backend with an updated serial number.

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

-PrimaryContact <Object>

Primary Remote Support Contact user object.

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

-Reseller <Object>

Authorized HPE reseller partner object from Get-HPOVRemoteSupportPartner.

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

-SecondaryContact <Object>

Secondary Remote Support Contact user object.

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

-ServicePartner <Object>

Authorized HPE service partner object from Get-HPOVRemoteSupportPartner.

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

-SupportID <String>

The support Contract ID. You must specify the type of contract by using the -ContractType parameter.

Aliases None
Required? false
Position? 6
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

HPOneView.ServerHardware [System.Management.Automation.PSCustomObject]

Server hardware resource object.

HPOneView.Enclosure [System.Management.Automation.PSCustomObject]

Enclosure resource object.

Return Values

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

Asyncronous task resource to monitor

Examples

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

$NewReseller = Get-HPOVRemoteSupportContact -Name "New Reseller Name" Get-HPOVEnclosure -Name Encl1 | Set-HPOVRemoteSupportSetting -Reseller $NewReseller

Update "Encl1" with a new reseller contact that was added to the appliance.

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

Get-HPOVServer -Name Prd-host-* | Set-HPOVRemoteSupportSetting -ContractType SupportAgreement -SupportID 111199990

Update the servers with a new support agreement.

 -------------------------- EXAMPLE 3 --------------------------

PrimaryContact = Get-HPOVRemoteSupportContact -Name "Gladi Chua" $SecondaryContact = Get-HPOVRemoteSupportContact -Name "Luke Smith" Get-HPOVEnclosure -Name Prod* | Set-HPOVRemoteSupportSetting -PrimaryContact $PrimaryContact -SecondaryContact $SecondaryContact -Async -OutVariable Tasks

Update the Enclosures with new primary and secondary contacts, returning async tasks to monitor using the OutVariable Common Parameter.

Related Links


HPE OneView 4.00 Library

Set-HPOVRemoteSupportSetting

Configure supported resource Remote Support settings.

SYNTAX

Set-HPOVRemoteSupportSetting [-InputObject] <Object> [-PrimaryContact] <Object>[ [-SecondaryContact] <Object>][ [-ServicePartner] <Object>][ [-Reseller] <Object>][ [-ContractType] <String>][ [-SupportID] <String>][ [-NewSerialNumber] <String>][ [-NewProductNumber] <String>][ [-ApplianceConnection] <Object>][ [-Async] <SwitchParameter>] [<CommonParameters>]

Detailed Description

Use this Cmdlet to configure a supported resources Remote Support collection settings.

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? 9
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
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

-ContractType <String>

Use to override the contract type. If specifying a different contract type, you must supply the SupportID. Allowed values are:

* SupportAgreement
* PackagedSupport.
Aliases None
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-InputObject <Object>

Either a Server Hardware or Enclosure resource to get the configured Remote Support collection settings.

Aliases None
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-NewProductNumber <String>

Use to update the HPE support backend with an updated product number

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

-NewSerialNumber <String>

Use to update the HPE support backend with an updated serial number.

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

-PrimaryContact <Object>

Primary Remote Support Contact user object.

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

-Reseller <Object>

Authorized HPE reseller partner object from Get-HPOVRemoteSupportPartner.

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

-SecondaryContact <Object>

Secondary Remote Support Contact user object.

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

-ServicePartner <Object>

Authorized HPE service partner object from Get-HPOVRemoteSupportPartner.

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

-SupportID <String>

The support Contract ID. You must specify the type of contract by using the -ContractType parameter.

Aliases None
Required? false
Position? 6
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

HPOneView.ServerHardware [System.Management.Automation.PSCustomObject]

Server hardware resource object.

HPOneView.Enclosure [System.Management.Automation.PSCustomObject]

Enclosure resource object.

Return Values

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

Asyncronous task resource to monitor

Examples

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

$NewReseller = Get-HPOVRemoteSupportContact -Name 'New Reseller Name' Get-HPOVEnclosure -Name Encl1 | Set-HPOVRemoteSupportSetting -Reseller $NewReseller

Update 'Encl1' with a new reseller contact that was added to the appliance.

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

Get-HPOVServer -Name Prd-host-* | Set-HPOVRemoteSupportSetting -ContractType SupportAgreement -SupportID 111199990

Update the servers with a new support agreement.

 -------------------------- EXAMPLE 3 --------------------------

PrimaryContact = Get-HPOVRemoteSupportContact -Name 'Gladi Chua' $SecondaryContact = Get-HPOVRemoteSupportContact -Name 'Luke Smith' Get-HPOVEnclosure -Name Prod* | Set-HPOVRemoteSupportSetting -PrimaryContact $PrimaryContact -SecondaryContact $SecondaryContact -Async -OutVariable Tasks

Update the Enclosures with new primary and secondary contacts, returning async tasks to monitor using the OutVariable Common Parameter.

Related Links


Wiki Table of Contents

Clone this wiki locally