-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
173 additions
and
163 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
$URL32,$URL64 = Get-Link -Uri 'https://support.8x8.com/cloud-phone-service/voice/work-desktop/download-8x8-work-for-desktop' -MatchProperty href -Pattern 'work-32-msi','work-64-msi' | ||
$URL = Get-Link -Uri 'https://support.8x8.com/cloud-phone-service/voice/work-desktop/download-8x8-work-for-desktop' -MatchProperty href -Pattern '\.msi' | ||
|
||
$Version32,$Version64 = $URL32,$URL64 | Get-Version -Pattern '((?:\d+\.)+\d+(?:-\d+)?)' -ReplaceWithDot | ||
$Version = $URL | Get-Version -Pattern '((?:\d+\.)+\d+)' | ||
|
||
New-NevergreenApp -Name '8x8 Work' -Version $Version32 -Uri $URL32 -Architecture 'x86' -Type 'Msi' | ||
New-NevergreenApp -Name '8x8 Work' -Version $Version64 -Uri $URL64 -Architecture 'x64' -Type 'Msi' | ||
New-NevergreenApp -Name '8x8 Work' -Version $Version -Uri $URL -Architecture 'x64' -Type 'msi' |
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
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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
$Version = Get-Version -Uri 'https://help.webex.com/en-us/mqkve8/Webex-Release-Notes' -Pattern 'Version:\s((?:\d+\.)+(?:\d+))</p>' | ||
$Version = Get-Version -Uri 'https://help.webex.com/en-us/article/mqkve8/Webex-App-%7C-Release-notes' -Pattern 'Windows[^\d]+((?:\d+\.)+(?:\d+))' | ||
|
||
$URL32 = Get-Link -Uri 'https://help.webex.com/en-us/nw5p67g/Webex-Installation-and-Automatic-Upgrade' -MatchProperty href -Pattern 'Webex_x86\.msi' | ||
$URL64 = Get-Link -Uri 'https://help.webex.com/en-us/nw5p67g/Webex-Installation-and-Automatic-Upgrade' -MatchProperty href -Pattern 'Webex\.msi' | ||
$URL32 = Get-Link -Uri 'https://help.webex.com/en-us/article/nw5p67g/Webex-App-%7C-Installation-and-automatic-upgrade' -MatchProperty href -Pattern 'Webex_x86\.msi' | ||
$URL64 = Get-Link -Uri 'https://help.webex.com/en-us/article/nw5p67g/Webex-App-%7C-Installation-and-automatic-upgrade' -MatchProperty href -Pattern 'Webex\.msi' | ||
|
||
New-NevergreenApp -Name 'Cisco Webex' -Version $Version -Uri $URL32 -Architecture 'x86' -Type 'Msi' | ||
New-NevergreenApp -Name 'Cisco Webex' -Version $Version -Uri $URL64 -Architecture 'x64' -Type 'Msi' |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
try { | ||
$Version = Get-Version -Uri 'https://www.jabra.com/Support/release-notes/release-note-jabra-direct' -UserAgent 'Googlebot/2.1 (+http://www.google.com/bot.html)' -Pattern '((?:\d+\.)+\d+)<br>' | ||
$URL = Get-Link -Uri 'https://www.jabra.com/software-and-services/jabra-direct' -MatchProperty href -Pattern '/Jabra.+\.exe$' | ||
# Getting intermittent certificate errors from this URL. -SkipCertificateCheck on Invoke-WebRequest resolves it but that is PS7 only. | ||
# Have seen up to 31 retries needed, so a 50 retry loop implemented! | ||
|
||
New-NevergreenApp -Name 'Jabra Direct' -Version $Version -Uri $URL -Architecture 'Multi' -Type 'Exe' | ||
$RetryCount = 50 | ||
|
||
for ($i = 0; $i -lt $RetryCount; $i++) { | ||
try { | ||
$Version = Get-Version -Uri 'https://www.jabra.com/Support/release-notes/release-note-jabra-direct' -UserAgent 'Googlebot/2.1 (+http://www.google.com/bot.html)' -Pattern '((?:\d+\.)+\d+)<br>' -ErrorAction Stop | ||
$URL = Get-Link -Uri 'https://www.jabra.com/software-and-services/jabra-direct' -MatchProperty href -Pattern '/Jabra.+\.exe$' -ErrorAction Stop | ||
New-NevergreenApp -Name 'Jabra Direct' -Version $Version -Uri $URL -Architecture 'Multi' -Type 'exe' | ||
return | ||
} | ||
catch { | ||
Write-Verbose "Attempt $($i+1) failed, retrying... $_" | ||
} | ||
} | ||
catch { | ||
Write-Error "$($MyInvocation.MyCommand): $($_.Exception.Message)" | ||
} | ||
Write-Error $error[0] |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
$URL11Zip,$URL11MSI,$URL17Zip,$URL17MSI = Get-Link -Uri 'https://docs.microsoft.com/en-gb/java/openjdk/download' -MatchProperty href -Pattern 'microsoft-jdk-11.+zip$','microsoft-jdk-11.+msi$','microsoft-jdk-17.+zip$','microsoft-jdk-17.+msi$' | ||
$Version11,$Version17 = $URL11MSI,$URL17MSI | Get-Version | ||
$Releases = @( | ||
@{Architecture = 'x64'; Type = 'msi'; Pattern = 'microsoft-jdk-11.+x64\.msi$'} | ||
@{Architecture = 'x64'; Type = 'zip'; Pattern = 'microsoft-jdk-11.+x64\.zip$'} | ||
@{Architecture = 'ARM64'; Type = 'msi'; Pattern = 'microsoft-jdk-11.+aarch64\.msi$'} | ||
@{Architecture = 'ARM64'; Type = 'zip'; Pattern = 'microsoft-jdk-11.+aarch64\.zip$'} | ||
@{Architecture = 'x64'; Type = 'msi'; Pattern = 'microsoft-jdk-17.+x64\.msi$'} | ||
@{Architecture = 'x64'; Type = 'zip'; Pattern = 'microsoft-jdk-17.+x64\.zip$'} | ||
@{Architecture = 'ARM64'; Type = 'msi'; Pattern = 'microsoft-jdk-17.+aarch64\.msi$'} | ||
@{Architecture = 'ARM64'; Type = 'zip'; Pattern = 'microsoft-jdk-17.+aarch64\.zip$'} | ||
) | ||
|
||
New-NevergreenApp -Name 'Microsoft OpenJDK' -Version $Version11 -Uri $URL11Zip -Architecture 'x64' -Type 'Zip' | ||
New-NevergreenApp -Name 'Microsoft OpenJDK' -Version $Version11 -Uri $URL11MSI -Architecture 'x64' -Type 'MSI' | ||
New-NevergreenApp -Name 'Microsoft OpenJDK' -Version $Version17 -Uri $URL17Zip -Architecture 'x64' -Type 'Zip' | ||
New-NevergreenApp -Name 'Microsoft OpenJDK' -Version $Version17 -Uri $URL17MSI -Architecture 'x64' -Type 'MSI' | ||
foreach ($Release in $Releases) { | ||
try { | ||
$URL = Get-Link -Uri 'https://docs.microsoft.com/en-gb/java/openjdk/download' -MatchProperty href -Pattern $Release.Pattern -ErrorAction Stop | ||
$Version = $URL | Get-Version | ||
New-NevergreenApp -Name 'Microsoft OpenJDK' -Version $Version -Uri $URL -Architecture $Release.Architecture -Type $Release.Type | ||
} | ||
catch { | ||
Write-Error "$($MyInvocation.MyCommand): $($_.Exception.Message)" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
$Links = (Invoke-WebRequest 'https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install' -DisableKeepAlive -UseBasicParsing).Links | ||
|
||
$Versions = @('1607','1703','1709','1803','1809','1903','1909','2004','20H2','21H1','21H2','22H1','22H2','23H1','23H2','24H1','24H2','25H1','25H2') | ||
$URL = $Links | Where-Object outerHTML -match "Download the Windows ADK" | Select-Object -ExpandProperty href -First 1 | ||
if ($URL) { | ||
New-NevergreenApp -Name 'Microsoft Windows ADK for Windows 11' -Version '22H2' -Uri $URL -Architecture 'x86' -Type 'Exe' | ||
} | ||
|
||
foreach ($Version in $Versions) { | ||
$URL = $Links | Where-Object outerHTML -match "ADK for Windows 11" | Select-Object -ExpandProperty href -First 1 | ||
if ($URL) { | ||
New-NevergreenApp -Name 'Microsoft Windows ADK for Windows 11' -Version '21H2' -Uri $URL -Architecture 'x86' -Type 'Exe' | ||
} | ||
|
||
$URL32 = $Links | Where-Object outerHTML -match "ADK for Windows 10, version $Version" | Select-Object -ExpandProperty href -First 1 | ||
$Versions = @('1607','1703','1709','1803','1809','1903','1909','2004') | ||
|
||
if ($URL32) { | ||
New-NevergreenApp -Name 'Microsoft Windows ADK' -Version $Version -Uri $URL32 -Architecture 'x86' -Type 'Exe' | ||
foreach ($Version in $Versions) { | ||
$URL = $Links | Where-Object outerHTML -match "ADK for Windows 10, version $Version" | Select-Object -ExpandProperty href -First 1 | ||
if ($URL) { | ||
New-NevergreenApp -Name 'Microsoft Windows ADK for Windows 10' -Version $Version -Uri $URL -Architecture 'x86' -Type 'Exe' | ||
} | ||
|
||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
$Version = Get-Version -Uri 'https://openvpn.net/community-downloads/' -Pattern 'OpenVPN ((?:\d+\.)+\d+\S*)' | ||
|
||
$Releases = @( | ||
@{Architecture = 'x86'; Type = 'Msi'; Pattern = 'x86\.msi$'} | ||
@{Architecture = 'x64'; Type = 'Msi'; Pattern = 'amd64\.msi$'} | ||
@{Architecture = 'ARM64'; Type = 'Msi'; Pattern = 'arm64\.msi$'} | ||
) | ||
|
||
foreach ($Release in $Releases) { | ||
$URL = Get-Link -Uri 'https://openvpn.net/community-downloads/' -MatchProperty href -Pattern $Release.Pattern | ||
New-NevergreenApp -Name 'OpenVPNCommunity' -Version $Version -Uri $URL -Architecture $Release.Architecture -Type $Release.Type | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
$Version = Get-Version -Uri 'https://openvpn.net/vpn-server-resources/openvpn-connect-for-windows-change-log/' -Pattern 'Release notes for ((?:\d+\.)+\d+)' | ||
|
||
$Releases = @( | ||
@{Architecture = 'x86'; Type = 'Msi'; Pattern = 'x86\.msi$'} | ||
@{Architecture = 'x64'; Type = 'Msi'; Pattern = 'windows\.msi$'} | ||
) | ||
|
||
foreach ($Release in $Releases) { | ||
$URL = Get-Link -Uri 'https://openvpn.net/client-connect-vpn-for-windows/' -MatchProperty href -Pattern $Release.Pattern | ||
New-NevergreenApp -Name 'OpenVPNConnect' -Version $Version -Uri $URL -Architecture $Release.Architecture -Type $Release.Type | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
$Response = Invoke-RestMethod 'https://docs.pingidentity.com/api/khub/maps/v6hqiVhowIDI52XNglkuRw/pages' -DisableKeepAlive | ||
$Version = (($Response.paginatedToc | Where-Object title -eq 'Release Notes').children | Where-Object title -eq 'PingID desktop app release notes').children[0].title | Get-Version | ||
|
||
$URL = Get-Link -Uri 'https://www.pingidentity.com/en/resources/downloads/pingid.html' -MatchProperty outerHTML -Pattern 'download for windows' | ||
|
||
New-NevergreenApp -Name 'PingID' -Version $Version -Uri $URL -Architecture 'x86' -Type 'Exe' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
try { | ||
$SupportedVersions = @('3.10','3.11') | ||
|
||
$URL64 = Get-Link -Uri 'https://www.python.org/downloads/windows/' -MatchProperty href -Pattern 'python-((?:\d+\.)+\d+)-amd64\.exe$' | ||
$Version = $URL64 | Get-Version | ||
New-NevergreenApp -Name 'Python' -Version $Version -Uri $URL64 -Architecture 'x64' -Type 'Exe' | ||
$Suffixes = @{x86 = '.exe'; x64 = '-amd64.exe'; ARM64 = '-arm64.exe'} | ||
|
||
$URL32 = Get-Link -Uri 'https://www.python.org/downloads/windows/' -MatchProperty href -Pattern 'python-((?:\d+\.)+\d+)\.exe$' | ||
New-NevergreenApp -Name 'Python' -Version $Version -Uri $URL32 -Architecture 'x86' -Type 'Exe' | ||
foreach ($SupportedVersion in $SupportedVersions) { | ||
|
||
foreach ($Platform in $Suffixes.keys) { | ||
|
||
$URL = Get-Link -Uri 'https://www.python.org/downloads/windows/' -MatchProperty href -Pattern "python-($([RegEx]::Escape($SupportedVersion))\.\d+)$([RegEx]::Escape($Suffixes[$Platform]))$" | ||
if ($URL) { | ||
$Version = $URL | Get-Version | ||
New-NevergreenApp -Name "Python $SupportedVersion" -Version $Version -Uri $URL -Architecture $Platform -Type 'Exe' | ||
} | ||
} | ||
|
||
} | ||
catch { | ||
Write-Error "$($MyInvocation.MyCommand): $($_.Exception.Message)" | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.