-
Notifications
You must be signed in to change notification settings - Fork 52
Copy HPOVServerProfile
Copy Server Profile
Copy-HPOVServerProfile [-InputObject] <Object>[ [-DestinationName] <String>][ [-assign] <Object>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
This cmdlet will copy a source Server Profile to a new instance You can assign the copy to an existing Server Device, or specify "unassigned".
-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? | false |
Position? | 3 |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-DestinationName <String>
Aliases [-dname] The name of the destination server profile that will be created. If omitted, the new name will have "Copy of " prefixed to the source name.
Aliases | dname, dst |
Required? | false |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-sname, -src, -SourceName] The Name or Resource Object of the source server profile to be copied.
Aliases | sname, src, SourceName |
Required? | true |
Position? | 0 |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-assign <Object>
The name, URI, or object of the target server to assign the new profile to. If omitted, profile will be "unassigned"
Aliases | None |
Required? | false |
Position? | 2 |
Default value | unassigned |
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)
System.Management.Automation.PSCustomObject
Server Profile resource object
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Profile Create async task
-------------------------- EXAMPLE 1 --------------------------Copy-HPOVServerProfile -SourceName "Profile 1"
Copy "Profile 1" to a new Server Profile that is unassigned and named "Copy of Profile 1".
-------------------------- EXAMPLE 2 --------------------------Copy-HPOVServerProfile -SourceName "Profile 1" -DestinationName "Profile 2"
Copy "Profile 1" to a new Server Profile that is unassigned and named "Profile 2".
-------------------------- EXAMPLE 3 --------------------------Copy-HPOVServerProfile -SourceName "Profile 1" -DestinationName "Profile 2" -assign "Encl1, Bay 9"
Copy "Profile 1" to a new Server Profile that is assigned to "Encl1, Bay 9" named "Profile 2".
-------------------------- EXAMPLE 4 --------------------------Get-HPOVServerProfile -Name "Profile 1" | Copy-HPOVServerProfile
Use the Get-HPOVServerProfile CMDLET and pipe to Copy-HPOVServerProfile, where the copied profile name will be "Copy of Profile 1" and unassigned.
-------------------------- EXAMPLE 5 --------------------------11..16 | % { Copy-HPOVServerProfile -SourceName "Profile Template" -DestinationName "Profile $_" -Assign "Encl1, bay $_" }
Copy 5 Server Profiles from "Profile Template" that will be assigned to bays 11 - 16 of Encl1.
- Convert-HPOVServerProfile
- Convert-HPOVServerProfileTemplate
- ConvertTo-HPOVServerProfileTemplate
- Get-HPOVServerProfile
- Get-HPOVServerProfileConnectionList
- Get-HPOVServerProfileMessage
- Get-HPOVServerProfileTemplate
- Join-HPOVServerProfileToTemplate
- New-HPOVServerProfile
- New-HPOVServerProfileAssign
- New-HPOVServerProfileAttachVolume
- New-HPOVServerProfileConnection
- New-HPOVServerProfileLogicalDisk
- New-HPOVServerProfileLogicalDiskController
- New-HPOVServerProfileTemplate
- Remove-HPOVServerProfile
- Remove-HPOVServerProfileTemplate
- Save-HPOVServerProfile
- Save-HPOVServerProfileTemplate
- Set-HPOVServerProfile
- Set-HPOVServerProfileTemplate
- Update-HPOVServerProfile
Copy Server Profile
Copy-HPOVServerProfile [-InputObject] <Object>[ [-DestinationName] <String>][ [-assign] <Object>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
This cmdlet will copy a source Server Profile to a new instance You can assign the copy to an existing Server Device, or specify 'unassigned'.
-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? | false |
Position? | 3 |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-DestinationName <String>
Aliases [-dname] The name of the destination server profile that will be created. If omitted, the new name will have "Copy of " prefixed to the source name.
Aliases | dname, dst |
Required? | false |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-sname, -src, -SourceName] The Name or Resource Object of the source server profile to be copied.
Aliases | sname, src, SourceName |
Required? | true |
Position? | 0 |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-assign <Object>
The name, URI, or object of the target server to assign the new profile to. If omitted, profile will be 'unassigned'
Aliases | None |
Required? | false |
Position? | 2 |
Default value | unassigned |
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)
System.Management.Automation.PSCustomObject
Server Profile resource object
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Profile Create async task
-------------------------- EXAMPLE 1 --------------------------Copy-HPOVServerProfile -SourceName "Profile 1"
Copy "Profile 1" to a new Server Profile that is unassigned and named "Copy of Profile 1".
-------------------------- EXAMPLE 2 --------------------------Copy-HPOVServerProfile -SourceName "Profile 1" -DestinationName "Profile 2"
Copy "Profile 1" to a new Server Profile that is unassigned and named "Profile 2".
-------------------------- EXAMPLE 3 --------------------------Copy-HPOVServerProfile -SourceName "Profile 1" -DestinationName "Profile 2" -assign "Encl1, Bay 9"
Copy "Profile 1" to a new Server Profile that is assigned to "Encl1, Bay 9" named "Profile 2".
-------------------------- EXAMPLE 4 --------------------------Get-HPOVServerProfile -Name "Profile 1" | Copy-HPOVServerProfile
Use the Get-HPOVServerProfile CMDLET and pipe to Copy-HPOVServerProfile, where the copied profile name will be "Copy of Profile 1" and unassigned.
-------------------------- EXAMPLE 5 --------------------------11..16 | % { Copy-HPOVServerProfile -SourceName "Profile Template" -DestinationName "Profile $_" -Assign "Encl1, bay $_" }
Copy 5 Server Profiles from "Profile Template" that will be assigned to bays 11 - 16 of Encl1.
- Get-HPOVServerProfile
- New-HPOVServerProfile
- New-HPOVServerProfileAssign
- Remove-HPOVServerProfile
- Wait-HPOVTaskComplete
- Convert-HPOVServerProfile
- Add-HPOVServer
- Convert-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
- Get-HPOVServer
- Get-HPOVServerProfile
- New-HPOVServerProfile
- Remove-HPOVServer
- Remove-HPOVServerProfile
- Restart-HPOVServer
- Save-HPOVServerProfile
- Set-HPOVServerProfile
- Start-HPOVServer
- Stop-HPOVServer
- Update-HPOVServer
- Update-HPOVServerProfile
Copy Server Profile
Copy-HPOVServerProfile [-InputObject] <Object>[ [-DestinationName] <String>][ [-assign] <Object>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
This cmdlet will copy a source Server Profile to a new instance You can assign the copy to an existing Server Device, or specify 'unassigned'.
-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? | false |
Position? | 3 |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-DestinationName <String>
Aliases [-dname] The name of the destination server profile that will be created. If omitted, the new name will have "Copy of " prefixed to the source name.
Aliases | dname, dst |
Required? | false |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-sname, -src, -SourceName] The Name or Resource Object of the source server profile to be copied.
Aliases | sname, src, SourceName |
Required? | true |
Position? | 0 |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-assign <Object>
The name, URI, or object of the target server to assign the new profile to. If omitted, profile will be 'unassigned'
Aliases | None |
Required? | false |
Position? | 2 |
Default value | unassigned |
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)
System.Management.Automation.PSCustomObject
Server Profile resource object
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Profile Create async task
-------------------------- EXAMPLE 1 --------------------------Copy-HPOVServerProfile -SourceName "Profile 1"
Copy "Profile 1" to a new Server Profile that is unassigned and named "Copy of Profile 1".
-------------------------- EXAMPLE 2 --------------------------Copy-HPOVServerProfile -SourceName "Profile 1" -DestinationName "Profile 2"
Copy "Profile 1" to a new Server Profile that is unassigned and named "Profile 2".
-------------------------- EXAMPLE 3 --------------------------Copy-HPOVServerProfile -SourceName "Profile 1" -DestinationName "Profile 2" -assign "Encl1, Bay 9"
Copy "Profile 1" to a new Server Profile that is assigned to "Encl1, Bay 9" named "Profile 2".
-------------------------- EXAMPLE 4 --------------------------Get-HPOVServerProfile -Name "Profile 1" | Copy-HPOVServerProfile
Use the Get-HPOVServerProfile CMDLET and pipe to Copy-HPOVServerProfile, where the copied profile name will be "Copy of Profile 1" and unassigned.
-------------------------- EXAMPLE 5 --------------------------11..16 | % { Copy-HPOVServerProfile -SourceName "Profile Template" -DestinationName "Profile $_" -Assign "Encl1, bay $_" }
Copy 5 Server Profiles from "Profile Template" that will be assigned to bays 11 - 16 of Encl1.
- Get-HPOVServerProfile
- New-HPOVServerProfile
- New-HPOVServerProfileAssign
- Remove-HPOVServerProfile
- Wait-HPOVTaskComplete