Skip to main content

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

Reserved for future use. This cmdlet is not implemented in the current release.

Description

Set-OVServerProfile is defined in the HPE OneView 10.00 PowerShell library but is not implemented. Calling it will throw:
Not implemented.
To update a server profile, use Set-OVResource to PUT the modified object directly, or use the more targeted Update-OVServerProfile cmdlet to remediate compliance against a template, or Save-OVServerProfile to save a profile in edit mode.

Alternative approaches

Modify a profile property and save with Set-OVResource

# Get the profile
$profile = Get-OVServerProfile -Name 'Web-Node-01'

# Modify a property
$profile.description = 'Updated description'

# Save changes back using the low-level Set-OVResource cmdlet
Set-OVResource -InputObject $profile | Wait-OVTaskComplete

Remediate a profile against its template

# Check for non-compliant profiles
$nonCompliant = Get-OVServerProfile -NonCompliant

# Update all non-compliant profiles
$nonCompliant | Update-OVServerProfile | Wait-OVTaskComplete