Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PowerShell session finder for Ignite and video hub
# video hub: https://techcommunity.microsoft.com/t5/video-hub/bd-p/VideoHub
# Ignite API: - https://api.myignite.microsoft.com/api/session/all
$ALLSESSIONS = Invoke-WebRequest -Uri "https://api.myignite.microsoft.com/api/session/all"
$sessions = $ALLSESSIONS | ConvertFrom-Json;
# Solution Areas
$sessions | Select-Object -ExpandProperty SolutionArea | Group-Object | Select-Object Name | Sort-Object -Property Name
# Search Samples
$security = $sessions | Where-Object {$_.solutionarea -like "*Security*"} | Select-Object Title,Description, SolutionArea,SlideDeck,downloadVideoLink,OnDemand,SessionLinks,SessionCode,herosession
$sentinel = $sessions | Where-Object {$_.Title -like "*Sentinel*"} | Select-Object Title,Description, SolutionArea,SlideDeck,downloadVideoLink,OnDemand,SessionLinks,SessionCode,herosession
$PowerShell = $sessions | Where-Object {$_.Description -like "*PowerShell*"} | Select-Object Title,Description, SolutionArea,SlideDeck,downloadVideoLink,OnDemand,SessionLinks,SessionCode,herosession
# Video Hub - RSS Link
$videohub = Invoke-RestMethod -Uri "https://techcommunity.microsoft.com/gxcuf89792/rss/board?board.id=VideoHub"
$videohub | Where-Object {$_.Title -like "*Defender*"} | Select-Object Title, Description,Link | Format-List
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment