Skip to content

Commit

Permalink
Add VMwareSDWANClient
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronparker committed Sep 29, 2023
1 parent 4a80a13 commit 42a97bc
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Evergreen/Apps/Get-VMwareSDWANClient.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
function Get-VMwareSDWANClient {
<#
.NOTES
Author: Aaron Parker
Twitter: @stealthpuppy
#>
[OutputType([System.Management.Automation.PSObject])]
[CmdletBinding(SupportsShouldProcess = $False)]
param (
[Parameter(Mandatory = $false, Position = 0)]
[ValidateNotNull()]
[System.Management.Automation.PSObject]
$res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1])
)

$Output = Get-VMwareProductList -Name $res.Get.Download.ProductName | `
Get-VMwareProductDownload | `
Where-Object { $_.URI -match $res.Get.Download.MatchFileTypes } | `
Sort-Object -Property "ReleaseDate" | `
Select-Object -Last 1 | `
ForEach-Object { $_.Version = $_.Version -replace $res.Get.Download.ReplaceText, ""; $_ }
Write-Output -InputObject $Output
}
30 changes: 30 additions & 0 deletions Evergreen/Manifests/VMwareSDWANClient.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"Name": "VMware SD-WAN Client",
"Source": "https://docs.vmware.com/en/VMware-SD-WAN-Client/index.html",
"Get": {
"Update": {
"Uri": ""
},
"Download": {
"Uri": "download3.vmware.com",
"ProductName": "VMware SD-WAN Client",
"MatchFileTypes": "\\.exe$|\\.msi$",
"ReplaceText": "SD-WAN Client "
}
},
"Install": {
"Setup": "",
"Physical": {
"Arguments": "",
"PostInstall": [

]
},
"Virtual": {
"Arguments": "",
"PostInstall": [

]
}
}
}

0 comments on commit 42a97bc

Please sign in to comment.