Skip to content

Instantly share code, notes, and snippets.

@alexverboon
Last active November 26, 2021 20:03
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save alexverboon/c7a45a9dcc29bad4b21c7ef9834b5934 to your computer and use it in GitHub Desktop.
Save alexverboon/c7a45a9dcc29bad4b21c7ef9834b5934 to your computer and use it in GitHub Desktop.
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