Save-OVServerProfileTemplate
Syntax
Save-OVServerProfileTemplate
[-InputObject] <Object>
[-Async]
[-ApplianceConnection <Array>]
[<CommonParameters>]
Description
This Cmdlet allows administrators to save the modified Server Profile Template object within the current PowerShell session to the target appliance.
Examples
Example 1
$MyProfileTemplate = Get-OVServerProfileTemplate -Name "My Profile Template 1" -ErrorAction Stop
$MyProfileTemplate.name = "My Profile Template NewName 1"
Save-OVServerProfileTemplate -InputObject $MyProfileTemplate
Get a Server Profile Template, update its name, then save.
Parameters
-ApplianceConnection <Array>
Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).
| 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
A Server Profile Template resource object from Get-OVServerProfileTemplate that was modified and needs to be saved.
Return Values
Async task Resource object for monitoring the enclosure import process.