-
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> [<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 | Appliance |
Required? | true |
Position? | 2 |
Default value | $Global:ConnectedSessions |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-ServerProfile <Object>
Aliases [-Profile, -p] A server profile name, URI, or resource object
Aliases | p, Profile |
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Template <Object>
A server profile template name, URI, or resource object
Aliases | t |
Required? | true |
Position? | 0 |
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)
HPOneView.ServerProfile [System.Management.Automation.PSCustomObject]
A PSCustom object representing a server profile template resource retrieved from the HPE OneView appliance
System.Collections.ArrayList<HPOneView.Appliance.TaskResource>
Collection of task resource objects
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
An HPE OneView task resource object
-------------------------- EXAMPLE 1 --------------------------Join-HPOVServerProfileToTemplate -template "MyTemplate" -profile "MyProfile" -appliance hpOneView.contoso.com
Attaches the server profile template named MyTemplate to the server profile name MyProfile on the OneView appliance hpOneView.contoso.com
-------------------------- EXAMPLE 2 --------------------------$p = Get-HPOVServerProfile "myProfile" Get-HPOVServerProfileTemplate "myTemplate" | Join-HPOVServerProfileToTemplate -profile $p -appliance hpOneView.contoso.com
Attaches the server profile template named MyTemplate to the server profile name MyProfile on the OneView appliance hpOneView.contoso.com
- Get-HPOVServer
- Copy-HPOVServerProfile
- New-HPOVServerProfileAssign
- Remove-HPOVServerProfile
- Get-HPOVServerProfileTemplate
- New-HPOVServerProfileTemplate
- Remove-HPOVServerProfileTemplate
- ConvertTo-HPOVServerProfileTemplate
- Get-HPOVEnclosure
- Get-HPOVServerHardwareType
- New-HPOVServerProfileConnection
- Get-HPOVServerProfileConnectionList
- New-HPOVServerProfileAttachVolume
- Wait-HPOVTaskComplete
- Convert-HPOVServerProfile
- Add-HPOVServer
- Convert-HPOVServerProfile
- Copy-HPOVServerProfile
- Get-HPOVServer
- Get-HPOVServerProfile
- New-HPOVServerProfile
- Remove-HPOVServer
- Remove-HPOVServerProfile
- Restart-HPOVServer
- Save-HPOVServerProfile
- Set-HPOVServerProfile
- Start-HPOVServer
- Stop-HPOVServer
- Update-HPOVServer
- Update-HPOVServerProfile
- Add-HPOVServer
- Convert-HPOVServerProfile
- Copy-HPOVServerProfile
- Get-HPOVServer
- Get-HPOVServerProfile
- New-HPOVServerProfile
- Remove-HPOVServer
- Remove-HPOVServerProfile
- Restart-HPOVServer
- Save-HPOVServerProfile
- Set-HPOVServerProfile
- Start-HPOVServer
- Stop-HPOVServer
- Update-HPOVServer
- Update-HPOVServerProfile
Attach an existing server profile to a server profile template
Join-HPOVServerProfileToTemplate [-Template] <Object> [-ServerProfile] <Object> [-ApplianceConnection] <Object> [<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 | Appliance |
Required? | true |
Position? | 2 |
Default value | $Global:ConnectedSessions |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-ServerProfile <Object>
Aliases [-Profile, -p] A server profile name, URI, or resource object
Aliases | p, Profile |
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Template <Object>
A server profile template name, URI, or resource object
Aliases | t |
Required? | true |
Position? | 0 |
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)
HPOneView.ServerProfile [System.Management.Automation.PSCustomObject]
A PSCustom object representing a server profile template resource retrieved from the HPE OneView appliance
System.Collections.ArrayList<HPOneView.Appliance.TaskResource>
Collection of task resource objects
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
An HPE OneView task resource object
-------------------------- EXAMPLE 1 --------------------------Join-HPOVServerProfileToTemplate -template "MyTemplate" -profile "MyProfile" -appliance hpOneView.contoso.com
Attaches the server profile template named MyTemplate to the server profile name MyProfile on the OneView appliance hpOneView.contoso.com
-------------------------- EXAMPLE 2 --------------------------$p = Get-HPOVServerProfile "myProfile" Get-HPOVServerProfileTemplate "myTemplate" | Join-HPOVServerProfileToTemplate -profile $p -appliance hpOneView.contoso.com
Attaches the server profile template named MyTemplate to the server profile name MyProfile on the OneView appliance hpOneView.contoso.com
- Get-HPOVServer
- Copy-HPOVServerProfile
- New-HPOVServerProfileAssign
- Remove-HPOVServerProfile
- Get-HPOVServerProfileTemplate
- New-HPOVServerProfileTemplate
- Remove-HPOVServerProfileTemplate
- ConvertTo-HPOVServerProfileTemplate
- Get-HPOVEnclosure
- Get-HPOVServerHardwareType
- New-HPOVServerProfileConnection
- Get-HPOVServerProfileConnectionList
- New-HPOVServerProfileAttachVolume
- Wait-HPOVTaskComplete
Attach an existing server profile to a server profile template
Join-HPOVServerProfileToTemplate [-Template] <Object> [-ServerProfile] <Object> [-ApplianceConnection] <Object> [<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 | Appliance |
Required? | true |
Position? | 2 |
Default value | $Global:ConnectedSessions |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-ServerProfile <Object>
Aliases [-Profile, -p] A server profile name, URI, or resource object
Aliases | p, Profile |
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Template <Object>
A server profile template name, URI, or resource object
Aliases | t |
Required? | true |
Position? | 0 |
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)
HPOneView.ServerProfile [System.Management.Automation.PSCustomObject]
A PSCustom object representing a server profile template resource retrieved from the HPE OneView appliance
System.Collections.ArrayList<HPOneView.Appliance.AsyncTask>
Collection of task resource objects
HPOneView.Appliance.AsyncTask [System.Management.Automation.PSCustomObject]
An HPE OneView task resource object
-------------------------- EXAMPLE 1 --------------------------PS C:\> Join-HPOVServerProfileToTemplate -template "MyTemplate" -profile "MyProfile" -appliance hpOneView.contoso.com
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 -appliance hpOneView.contoso.com
Attaches the server profile template named MyTemplate to the server profile name MyProfile on the OneView appliance hpOneView.contoso.com
- Get-HPOVServer
- Copy-HPOVServerProfile
- New-HPOVServerProfileAssign
- Remove-HPOVServerProfile
- Get-HPOVServerProfileTemplate
- New-HPOVServerProfileTemplate
- Remove-HPOVServerProfileTemplate
- ConvertTo-HPOVServerProfileTemplate
- Get-HPOVEnclosure
- Get-HPOVServerHardwareType
- New-HPOVServerProfileConnection
- Get-HPOVServerProfileConnectionList
- New-HPOVServerProfileAttachVolume
- Wait-HPOVTaskComplete