-
Notifications
You must be signed in to change notification settings - Fork 52
Join HPOVServerProfileToTemplate
Attach an existing server profile to a server profile template
Join-HPOVServerProfileToTemplate [-Template] <Object> [-ServerProfile] <Object> [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Binds a server profile resource to the provided server profile template
-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 | cf |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
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 |
-ServerProfile <Object>
Aliases [-Profile, -p] A server profile name, URI, or resource object
Aliases | cf |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Template <Object>
A server profile template name, URI, or resource object
Aliases | cf |
Required? | true |
Position? | 0 |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-WhatIf <SwitchParameter>
Aliases | cf |
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)
HPOneView.ServerProfile [System.Management.Automation.PSCustomObject] A PSCustom object representing a server profile template resource retrieved from the HPE OneView appliance
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject] An HPE OneView task resource object.
System.Collections.ArrayList <HPOneView.Appliance.TaskResource> Collection of task resource objects.
-------------------------- EXAMPLE 1 --------------------------PS C:\> Join-HPOVServerProfileToTemplate -template "MyTemplate" -profile "MyProfile"
Attaches the server profile template named MyTemplate to the server profile name MyProfile on the OneView appliance hpOneView.contoso.com
-------------------------- EXAMPLE 2 --------------------------PS C:\> $p = Get-HPOVServerProfile "myProfile" PS C:\> Get-HPOVServerProfileTemplate "myTemplate" | Join-HPOVServerProfileToTemplate -profile $p
Attaches the server profile template named MyTemplate to the server profile name MyProfile on the OneView appliance hpOneView.contoso.com
- [Get-HPOVServer] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVServer)
- [Copy-HPOVServerProfile] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Copy-HPOVServerProfile)
- [New-HPOVServerProfileAssign] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVServerProfileAssign)
- [Remove-HPOVServerProfile] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVServerProfile)
- [Get-HPOVServerProfileTemplate] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVServerProfileTemplate)
- [New-HPOVServerProfileTemplate] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVServerProfileTemplate)
- [Remove-HPOVServerProfileTemplate] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVServerProfileTemplate)
- [ConvertTo-HPOVServerProfileTemplate] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/ConvertTo-HPOVServerProfileTemplate)
- [Get-HPOVEnclosure] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVEnclosure)
- [Get-HPOVServerHardwareType] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVServerHardwareType)
- [New-HPOVServerProfileConnection] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVServerProfileConnection)
- [Get-HPOVServerProfileConnectionList] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVServerProfileConnectionList)
- [New-HPOVServerProfileAttachVolume] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVServerProfileAttachVolume)
- [Wait-HPOVTaskComplete] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Wait-HPOVTaskComplete)