Update HPOVServerProfile - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Update-HPOVServerProfile

Update Server Profile from Template

SYNTAX

Update-HPOVServerProfile [-InputObject] <Object>[ [-ApplianceConnection] <Object>][ [-Async] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Update-HPOVServerProfile [-InputObject] <Object>[ [-Reapply] <SwitchParameter>][ [-Baseline] <SwitchParameter>][ [-AdapterAndBoot] <SwitchParameter>][ [-Connections] <SwitchParameter>][ [-LocalStorage] <SwitchParameter>][ [-SANStorage] <SwitchParameter>][ [-BIOS] <SwitchParameter>][ [-OSDeployment] <SwitchParameter>][ [-ApplianceConnection] <Object>][ [-Async] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

This Cmdlet will perform the "Update from Server Profile Template" operation on 1 or more Server Profile resources. If a Server Profile is already in a "Compliant" state, then no action will be taken.

Parameters

-AdapterAndBoot <SwitchParameter>

Re-apply Boot settings, including adapter boot preference.

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

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

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

Aliases Appliance
Required? false
Position? named
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

-BIOS <SwitchParameter>

Re-apply BIOS settings. Gen8 server hardware must be powered off for this operation to be allowed. Gen9 and newer can be performed while the server hardware is powered on.

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

-Baseline <SwitchParameter>

Re-apply Baseline. If setting is Firmware only, the associated server hardware must be powered off.

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

-Confirm <SwitchParameter>

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

-Connections <SwitchParameter>

Re-apply Vitual Connect connections. Will re-provision downlink ports and connection templates for the provided server profile.

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

-InputObject <Object>

Aliases [-Profile, -ServerProfile] The Name or Resource Object of the specific Server Profile to update.

Aliases profile, ServerProfile
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-LocalStorage <SwitchParameter>

Re-apply Local Storage settings. This will cause the SmartArray to rescan for disks that should be part of the configured Logical Disk. Server Hardware must be powered off in order for operation to be successful.

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

-OSDeployment <SwitchParameter>

Re-apply OS Deployment Plan settings.

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

-Reapply <SwitchParameter>

Use to perform the Reapply Server Profile operation. Server should be powered off to perform certain operations.

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

-SANStorage <SwitchParameter>

Re-apply SAN storage settings. Only applies to SAN zoning and volume presentation, and not recreating SAN volumes.

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

-WhatIf <SwitchParameter>

When using this parameter, an HPOneView.ServerProfile.CompliancePreview object is returned, which contains the operations that will be performed.

Aliases wi
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

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

Single Server Profile

System.CollectionsArrayList <HPOneView.ServerProfile>

Multiple Server Profiles

Return Values

HPOneView.ServerProfile.CompliancePreview

Object containing the operations to be performed when the Server Profile object is not compliant.

HPOneView.Appliance.Task {System.Management.Automation.PSCustomObject}

Async update task

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

Multiple Async update tasks

Examples

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

Get-HPOVServerProfile -Name "My Profile 1" | Update-HPOVServerProfile

Get all storage system resource objects managed by the appliance.

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

Get-HPOVServerProfile | Update-HPOVServerProfile

Get all Server Profile resources and perform the Update from Server Profile Template action.

Related Links


Top

HPE OneView 4.00 Library

Update-HPOVServerProfile

Update Server Profile from Template

SYNTAX

Update-HPOVServerProfile [-InputObject] <Object>[ [-ApplianceConnection] <Object>][ [-Async] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Update-HPOVServerProfile [-InputObject] <Object>[ [-Reapply] <SwitchParameter>][ [-Baseline] <SwitchParameter>][ [-AdapterAndBoot] <SwitchParameter>][ [-Connections] <SwitchParameter>][ [-LocalStorage] <SwitchParameter>][ [-SANStorage] <SwitchParameter>][ [-BIOS] <SwitchParameter>][ [-OSDeployment] <SwitchParameter>][ [-ApplianceConnection] <Object>][ [-Async] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

This Cmdlet will perform the 'Update from Server Profile Template' operation on 1 or more Server Profile resources. If a Server Profile is already in a 'Compliant' state, then no action will be taken.

Parameters

-AdapterAndBoot <SwitchParameter>

Re-apply Boot settings, including adapter boot preference.

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

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

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

Aliases Appliance
Required? false
Position? named
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

-BIOS <SwitchParameter>

Re-apply BIOS settings. Gen8 server hardware must be powered off for this operation to be allowed. Gen9 and newer can be performed while the server hardware is powered on.

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

-Baseline <SwitchParameter>

Re-apply Baseline. If setting is Firmware only, the associated server hardware must be powered off.

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

-Confirm <SwitchParameter>

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

-Connections <SwitchParameter>

Re-apply Vitual Connect connections. Will re-provision downlink ports and connection templates for the provided server profile.

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

-InputObject <Object>

Aliases [-Profile, -ServerProfile] The Name or Resource Object of the specific Server Profile to update.

Aliases profile, ServerProfile
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-LocalStorage <SwitchParameter>

Re-apply Local Storage settings. This will cause the SmartArray to rescan for disks that should be part of the configured Logical Disk. Server Hardware must be powered off in order for operation to be successful.

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

-OSDeployment <SwitchParameter>

Re-apply OS Deployment Plan settings.

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

-Reapply <SwitchParameter>

Use to perform the Reapply Server Profile operation. Server should be powered off to perform certain operations.

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

-SANStorage <SwitchParameter>

Re-apply SAN storage settings. Only applies to SAN zoning and volume presentation, and not recreating SAN volumes.

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

-WhatIf <SwitchParameter>

When using this parameter, an HPOneView.ServerProfile.CompliancePreview object is returned, which contains the operations that will be performed.

Aliases wi
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

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

Single Server Profile

System.CollectionsArrayList <HPOneView.ServerProfile>

Multiple Server Profiles

Return Values

HPOneView.ServerProfile.CompliancePreview

Object containing the operations to be performed when the Server Profile object is not compliant.

HPOneView.Appliance.Task {System.Management.Automation.PSCustomObject}

Async update task

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

Multiple Async update tasks

Examples

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

Get-HPOVServerProfile -Name 'My Profile 1' | Update-HPOVServerProfile

Get all storage system resource objects managed by the appliance.

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

Get-HPOVServerProfile | Update-HPOVServerProfile

Get all Server Profile resources and perform the Update from Server Profile Template action.

Related Links


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