4.Calls start-restore()to start the restore.

5.Calls restore-status()to periodically check the restore status until the restore completes.

If you pass the -statusoption to the script, the script verifies and reports the status of the last or an ongoing restore until the restore process is complete:

1.Calls recover-restoreID()to get the URI to verify the status of the last or an ongoing restore.

2.Calls restore-status()to periodically verify the restore status until the restore completes.

C.2 Sample restore script 283

Page 283
Image 283
HP OneView manual Sample restore script