Was wondering how do I get the buildid from Get-PfBuild using Powershell?
Was wondering how do I get the buildid from Get-PfBuild using Powershell?
I've noticed also that the json conflicts with powershell as well. This is the output.
I also notice if I try to grab the fields using ConvertFrom-Json it only gives me the 200 code.
The following command List all builds including the build id:
Get-PfBuild | ConvertTo-Json -depth 7
You can refer to this document: MpsPowershell/Get-PfBuild.md at main PlayFab/MpsPowershell GitHub
Hi @Rick Chen
Oh I understand that command, but how do I grab say the first builid and save it as a string/variable?
One way is that
$result = Get-PfBuild $result.Data.BuildSummaries[0].BuildId
A simpler way is
(Get-PfBuild).Data.BuildSummaries[0].BuildId
This question is not related to PlayFab, please search the Powershell document for help.
15 People are following this question.