Skip to content

Powershell - Loop through environments #202

Closed Answered by chrishdmicrosoftcom
nicward asked this question in Q&A
Discussion options

You must be logged in to vote

You can probably do something like this:
$result = ConvertFrom-Json $httpResult.Content
foreach ($environment in $result.value)
{
write-host $environmetn.name
}

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@nicward
Comment options

Comment options

You must be logged in to vote
1 reply
@nicward
Comment options

Answer selected by nicward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants