Save HPOVServerProfileTemplate - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Save-HPOVServerProfileTemplate

Save the contents of a Server Profile Template to the appliance.

SYNTAX

Save-HPOVServerProfileTemplate [-InputObject] <Object>[ [-Async] <SwitchParameter>][ [-ApplianceConnection] <Array>] [<CommonParameters>]

Detailed Description

This Cmdlet allows administrators to save the modified Server Profile Template object within the current PowerShell session to the target appliance.

Parameters

-ApplianceConnection <Array>

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? 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

-InputObject <Object>

Server Profile Template object to be saved.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
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.ServerProfileTemplate

A Server Profile Template resource object from Get-HPOVServerProfileTemplate that was modified and needs to be saved.

Return Values

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

Async task Resource object for monitoring the enclosure import process.

Examples

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

$MyProfileTemplate = Get-HPOVServerProfileTemplate -Name "My Profile Template 1" -ErrorAction Stop $MyProfileTemplate.name = "My Profile Template NewName 1" Save-HPOVServerProfileTemplate -InputObject $MyProfileTemplate

Get a Server Profile Template, update its name, then save.

Related Links


Top

HPE OneView 4.00 Library

Save-HPOVServerProfileTemplate

Save the contents of a Server Profile Template to the appliance.

SYNTAX

Save-HPOVServerProfileTemplate [-InputObject] <Object>[ [-Async] <SwitchParameter>][ [-ApplianceConnection] <Array>] [<CommonParameters>]

Detailed Description

This Cmdlet allows administrators to save the modified Server Profile Template object within the current PowerShell session to the target appliance.

Parameters

-ApplianceConnection <Array>

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? 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

-InputObject <Object>

Server Profile Template object to be saved.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
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.ServerProfileTemplate

A Server Profile Template resource object from Get-HPOVServerProfileTemplate that was modified and needs to be saved.

Return Values

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

Async task Resource object for monitoring the enclosure import process.

Examples

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

$MyProfileTemplate = Get-HPOVServerProfileTemplate -Name "My Profile Template 1" -ErrorAction Stop $MyProfileTemplate.name = "My Profile Template NewName 1" Save-HPOVServerProfileTemplate -InputObject $MyProfileTemplate

Get a Server Profile Template, update its name, then save.

Related Links


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