This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Paging": { | |
| "StartAt": 0, | |
| "InlineCount": 2, | |
| "TotalCount": 2 | |
| }, | |
| "ContentItems": [ | |
| { | |
| "Id": 114729, | |
| "Type": "SpartanRankManifest", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $uri = "https://content-hacs.svc.halowaypoint.com/contents/SpartanRankManifest" | |
| try { | |
| $response = Invoke-RestMethod -Uri $uri -Method Get | |
| $results = foreach ($contentItem in $response. ContentItems) { | |
| $spartanRanks = $contentItem. View.SpartanRankManifest.SpartanRanks | |
| if ($spartanRanks -and $spartanRanks. Count -gt 0) { | |
| foreach ($rank in $spartanRanks) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Script by Den Delimarsky - Written in July 2022 | |
| # Enables all modes and maps that are available in a given build manifest. | |
| # For details, refer to https://den.dev/blog/halo-infinite-enable-all-content | |
| param ( | |
| # Spartan V4 token, used for authentication against the Halo Infinite API. | |
| [Parameter(Mandatory=$true)] | |
| [string]$SpartanV4Token, | |
| # Build ID accessible to the user which is authenticating. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| repository(owner: "microsoft", name: "powertoys") { | |
| issues(first: 100, states: OPEN) { | |
| totalCount | |
| pageInfo { | |
| startCursor | |
| hasNextPage | |
| endCursor | |
| } | |
| edges { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Show-Notification { | |
| [cmdletbinding()] | |
| Param ( | |
| [string] | |
| $ToastTitle, | |
| [string] | |
| [parameter(ValueFromPipeline)] | |
| $ToastText | |
| ) |