Set HP Sure Recover schedule


New-HPSureRecoverSchedulePayload [-SigningKeyFile] <String> [[-SigningKeyPassword] <String>] [[-Nonce] <UInt32>] [-DayOfWeek] {None | Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | EveryWeek} [-Hour] <UInt32> [-Minute] <UInt32> [-WindowSize] <UInt32> [[-OutputFile] <FileInfo>] [<CommonParameters>]

New-HPSureRecoverSchedulePayload [-SigningKeyCertificate] <X509Certificate2> [[-SigningKeyPassword] <String>] [[-Nonce] <UInt32>] [-DayOfWeek] {None | Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | EveryWeek} [-Hour] <UInt32> [-Minute] <UInt32> [-WindowSize] <UInt32> [[-OutputFile] <FileInfo>] [<CommonParameters>]


This function create a payload to set a HP Sure Recover schedule.

On return, the function writes the created payload to the pipeline, or to the file specified in the OutputFile parameter. This payload can then be passed to the Set-HPSecurePlatformPayload function.

Security note: Payloads should only be created on secure servers. Once created, the payload may be transferred to a client and applied via the Set-HPSecurePlatformPayload. Creating the payload and passing it to the Set-HPSecurePlatformPayload function via the pipeline is not a recommended production pattern.


Name Argument Description
SigningKeyFile <String> The path to the secure platform signing key, as a PFX file. If the PFX file is protected by a password (recommended),
  the SigningKeyPassword parameter should also be provided.
SigningKeyCertificate <X509Certificate2> The secure platform signing key certificate, as an X509Certificate object.
SigningKeyPassword <String> The secure platform signing key file password, if required.
Nonce <UInt32> The operation nonce. In order to prevent replay attacks, the secure platform subsystem will only accept commands with a
  nonce greater or equal to the last nonce sent.
  If not specified, the nonce is inferred from the current local time. This works okay in most cases, however this approach has a resolution of seconds,
  so when doing high volume or parallel operations, it is possible to infer the same counter for two or more commands. In those cases, the caller
  should use its own nonce derivation and provide it through this parameter.
DayOfWeek <surerecover_day_of_week> Defines the day of the week for the schedule
Hour <UInt32> Defines the hour value for the schedule
Minute <UInt32> Defines the minute of the schedule
WindowSize <UInt32> Defines a windows size for the schedule activation (in minutes), in case the exact configured schedule is
  missed. By default, the window is zero. The value may not be larger than 4 hours (240 minutes).
OutputFile <FileInfo> Write the resulting output to the specified file, instead of writing it to the pipeline.


  • Supported on Windows 10.
  • Requires HP BIOS with HP Sure Recover support

See also