Public/Get-CitrixSdwanFeed.ps1
Function Get-CitrixSdwanFeed { <# .SYNOPSIS Gets the current available Citrix SD-WAN release versions. .DESCRIPTION Reads the public Citrix Receiver web page to return an array of Receiver platforms and the available versions. Does not provide the version number for Receiver where a login is required (e.g. HTML5, Chrome) .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() # Read the feed and filter for include and exclude strings and return output to the pipeline $gcfParams = @{ Uri = $script:resourceStrings.Applications.CitrixFeeds.Sdwan.Uri Include = $script:resourceStrings.Applications.CitrixFeeds.Sdwan.Include Exclude = $script:resourceStrings.Applications.CitrixFeeds.Sdwan.Exclude } $Content = Get-CitrixRssFeed @gcfParams If ($Null -ne $Content) { Write-Output -InputObject $Content } } |