-
Notifications
You must be signed in to change notification settings - Fork 52
ConvertTo HPOVServerProfileTemplate
Create a Server Profile Template from Server Profile.
ConvertTo-HPOVServerProfileTemplate [-InputObject] <Object> [-Name] <String> [-Description] <String> [-ApplianceConnection] <Object>[ [-Async] <SwitchParameter>] [<CommonParameters>]
This CMDLET will allow the user to "clone" or create a Server Profile Template from an existing Server Profile object. Not all Server Profile features will be converted to a Server Profile Template. For instance, the following features are not supported with a Server Profile Template:
* Import existing local Smart Array Logical Disk configuration
* Attach SAN Storage Volumes must be assigned a unique LUN ID
If the source Server Profile has the "Import existing logical drives" enabled, this setting will be disabled, and the Local Disk Configuration policy will be set to "disabled".
If any SAN Storage Volume attachments contain an "Auto" LUN value, it will be set to "Manual", with the LUN ID set to a unique value based on the Array Index value.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | 3 |
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 |
-Description <String>
The Server Profile description.
Aliases | None |
Required? | true |
Position? | 2 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-source, -name, -ServerProfile]
A source Server Profile Object or Resource Name.
Aliases | source, ServerProfile |
Required? | true |
Position? | 0 |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-Name <String>
The Server Profile Template Name to assign. If omitted, then a new name of "Copy of - {Original_Name}" will be defined.
Aliases | None |
Required? | true |
Position? | 1 |
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)
HPOneView.ServerProfile [System.Management.Automation.PSCustomObject]
A Server Profile resource object from Get-HPOVServerProfile.
System.Collections.ArrayList
Multiple HPOneView.ServerProfile [System.Management.Automation.PSCustomObject] objects.
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject] objects.
Asyncronous task of the Server Profile Template creation request.
-------------------------- EXAMPLE 1 --------------------------Get-HPOVServerProfile MyProfile | ConvertTo-HPOVServerProfileTemplate -Name "Hypervisor Gold Template 1"
Use Get-HPOVServerProfile to retrieve the "MyProfile" object, and pipe it to ConvertTo-HPOVServerProfileTemplate, creating a new Server Profile Template "Hyervisor Gold Template 1".
- Convert-HPOVServerProfileTemplate
- Get-HPOVServerProfileTemplate
- New-HPOVServerProfileTemplate
- Remove-HPOVServerProfileTemplate
- Save-HPOVServerProfileTemplate
- Set-HPOVServerProfileTemplate
Create a Server Profile Template from Server Profile.
ConvertTo-HPOVServerProfileTemplate [-InputObject] <Object> [-Name] <String> [-Description] <String> [-ApplianceConnection] <Object>[ [-Async] <SwitchParameter>] [<CommonParameters>]
This CMDLET will allow the user to 'clone' or create a Server Profile Template from an existing Server Profile object. Not all Server Profile features will be converted to a Server Profile Template. For instance, the following features are not supported with a Server Profile Template:
* Import existing local Smart Array Logical Disk configuration
* Attach SAN Storage Volumes must be assigned a unique LUN ID
If the source Server Profile has the 'Import existing logical drives' enabled, this setting will be disabled, and the Local Disk Configuration policy will be set to 'disabled'.
If any SAN Storage Volume attachments contain an 'Auto' LUN value, it will be set to 'Manual', with the LUN ID set to a unique value based on the Array Index value.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | 3 |
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 |
-Description <String>
The Server Profile description.
Aliases | None |
Required? | true |
Position? | 2 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-source, -name, -ServerProfile]
A source Server Profile Object or Resource Name.
Aliases | source, ServerProfile |
Required? | true |
Position? | 0 |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-Name <String>
The Server Profile Template Name to assign. If omitted, then a new name of 'Copy of - {Original_Name}' will be defined.
Aliases | None |
Required? | true |
Position? | 1 |
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)
HPOneView.ServerProfile [System.Management.Automation.PSCustomObject]
A Server Profile resource object from Get-HPOVServerProfile.
System.Collections.ArrayList
Multiple HPOneView.ServerProfile [System.Management.Automation.PSCustomObject] objects.
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject] objects.
Asyncronous task of the Server Profile Template creation request.
-------------------------- EXAMPLE 1 --------------------------Get-HPOVServerProfile MyProfile | ConvertTo-HPOVServerProfileTemplate -Name 'Hypervisor Gold Template 1'
Use Get-HPOVServerProfile to retrieve the 'MyProfile' object, and pipe it to ConvertTo-HPOVServerProfileTemplate, creating a new Server Profile Template 'Hyervisor Gold Template 1'.
- Convert-HPOVServerProfileTemplate
- Get-HPOVServerProfileTemplate
- New-HPOVServerProfileTemplate
- Remove-HPOVServerProfileTemplate
- Save-HPOVServerProfileTemplate
- Set-HPOVServerProfileTemplate