Last active
November 26, 2021 20:03
-
-
Save alexverboon/c7a45a9dcc29bad4b21c7ef9834b5934 to your computer and use it in GitHub Desktop.
PowerShell session finder for Ignite and video hub
This file contains 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
# 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