currently I watch the course about IT support and encountered this script:
$FILE = $GET_HTML.Links | Select-Object @{Label='href';
Expression={@{$true=$_.href}[$_.href.EndsWith('win64.exe')]}} |
Select-Object -ExpandProperty href
I figured out that we somehow use hashtables to filter out the desired link but I want to know how it works in detail. Would appreciate your help.