Documentation Index
Fetch the complete documentation index at: https://mintlify.com/HewlettPackard/POSH-HPEOneView/llms.txt
Use this file to discover all available pages before exploring further.
Synopsis
Creates a copy of an existing server profile under a new name, optionally assigning the copy to a different server.Syntax
Description
Copy-OVServerProfile duplicates a server profile, including all its settings — connections, boot configuration, firmware policy, and local storage — under a new name. The copy is independent of the source; changes to one do not affect the other.
Use -Assign to assign the new profile to a specific server hardware resource at copy time. If -Assign is omitted the copy is left unassigned.
If -DestinationName is omitted, HPE OneView generates a name of the form Copy of <SourceName>.
Virtual MAC addresses, WWNs, and serial numbers in the copy are newly allocated and will differ from those in the source profile.
Parameters
The source server profile object to copy, as returned by
Get-OVServerProfile. Accepts pipeline input. Aliases: sname, src, SourceName.Name for the new (copied) server profile. Defaults to
Copy of <SourceName>. Alias: dname, dst.Server hardware object or name to assign the copied profile to. Defaults to
unassigned.Specifies the HPE OneView appliance connection. Defaults to the default connected session. Alias:
Appliance.Examples
Copy a profile and leave it unassigned
Hyp-Clus-05 as an unassigned copy of Hyp-Clus-01.
Copy a profile via the pipeline and assign to a server
Hyp-Clus-05 and immediately assigns it to the server at Encl1, Bay 5.
Copy and let HPE OneView generate the name
Copy of Web-Node-01.
Output
HPEOneView.Appliance.TaskResource — An async task object tracking the copy operation.