Public/Get-CitrixSdwanFeed.ps1
Function Get-CitrixSdwanFeed { <# .SYNOPSIS Reads the public Citrix SD-WAN feed to return an array of versions and links to download pages. .NOTES Author: Aaron Parker Twitter: @stealthpuppy .EXAMPLE Get-CitrixSdwanFeed Description: Returns the available Citrix SD-WAN versions for all platforms. #> [OutputType([System.Management.Automation.PSObject])] [CmdletBinding()] Param() # Get application resource strings from its manifest $res = Get-FunctionResource -AppName "CitrixFeeds" Write-Verbose -Message $res.Name # Read the feed and filter for include and exclude strings and return output to the pipeline $gcfParams = @{ Uri = $res.Get.Sdwan.Uri Include = $res.Get.Sdwan.Include Exclude = $res.Get.Sdwan.Exclude } $Content = Get-CitrixRssFeed @gcfParams If ($Null -ne $Content) { Write-Output -InputObject $Content } } |