{"id":16385969,"url":"https://github.com/techthoughts2/ilorestapi","last_synced_at":"2026-03-13T23:32:10.158Z","repository":{"id":99419056,"uuid":"76507961","full_name":"techthoughts2/iLORestAPI","owner":"techthoughts2","description":"Basic PowerShell examples for interacting with HP iLO via the RestAPI","archived":false,"fork":false,"pushed_at":"2016-12-15T04:06:00.000Z","size":6,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-03-03T12:32:50.917Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techthoughts2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-15T00:17:03.000Z","updated_at":"2023-12-21T09:57:22.000Z","dependencies_parsed_at":"2023-05-07T11:24:59.372Z","dependency_job_id":null,"html_url":"https://github.com/techthoughts2/iLORestAPI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techthoughts2/iLORestAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techthoughts2%2FiLORestAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techthoughts2%2FiLORestAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techthoughts2%2FiLORestAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techthoughts2%2FiLORestAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techthoughts2","download_url":"https://codeload.github.com/techthoughts2/iLORestAPI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techthoughts2%2FiLORestAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30479358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T20:45:58.186Z","status":"ssl_error","status_checked_at":"2026-03-13T20:45:20.133Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T04:15:49.233Z","updated_at":"2026-03-13T23:32:10.141Z","avatar_url":"https://github.com/techthoughts2.png","language":"PowerShell","readme":"# iLORestAPI\nBasic PowerShell construct for interacting with HP iLO via the RestAPI\n\n## Synopsis\n\nCollection of functions that can be leveraged to establish session connection and interact with HP iLO RestAPI using PowerShell\n\n## Description\n\n* **New-HpSession**\n  * Creates an ILO session and returns the session details\n* **Remove-HpSession**\n  * Closes an existing ILO session\n* **Get-HPSetting**\n  * Gets settings from the HP BIOS using the ILO API\n* **Test-Call**\n  * Testing function only for interacting with various iLO API URI's\n* **Set-HPBIOSSettings**\n  * Makes changes to the BIOS that are specified in the JSON payload\n\n## Prerequisites\n\n* HP Gen9 Server with iLO capability\n\n## How to run\n\n1. Establish an iLO session\n  * ```powershell \n $session = New-HpSession -ip $ip -username $username -password $password ```\n   * *Note: If your workstation isn't configured to trust the iLO cert the New-HpSession will prompt you if you wish to temporarily ignore the iLO cert warning*\n2. Interact with the session\n  * ```powershell \n Get-HPSetting -Session $session -Config \"Boot\" ```\n   * *This will retrieve the pending BIOS settings*\n  * ```powershell \n Get-HPSetting -Session $session -Config \"Running\" ```\n   * *This will retrieve the current BIOS settings*\n  * ```powershell \n Test-Call -IP $ip -Session $session ```\n   * *This will retrieve information for the non-commented URI.  This test function contains several URI examples so you can experiment with retrieving info from   each one by commenting out and un-commenting different addresses*\n  * ```powershell \n Set-HPBIOSSettings -IP $ip -Json $json -Session $session ```\n   * *This will send the specified JSON payload and make real changes to the server based on options specified in the JSON payload*\n3. Remove the iLO session\n  * ```powershell \n Remove-HpSession -Session $Session ```\n\n### Contributors\n\nAuthors: Jake Morrison\n\nhttp://techthoughts.info\n\n### Notes\n\nhttp://techthoughts.info/ilo-restful-api-powershell\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechthoughts2%2Filorestapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechthoughts2%2Filorestapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechthoughts2%2Filorestapi/lists"}