-
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.
Merge branch 'main' of https://github.com/DanGough/Nevergreen
- Loading branch information
Showing
17 changed files
with
117 additions
and
32 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,5 +1,19 @@ | ||
$URL = Get-Link -Uri 'https://support.8x8.com/cloud-phone-service/voice/work-desktop/download-8x8-work-for-desktop' -MatchProperty href -Pattern '\.msi' | ||
$Apps = @( | ||
@{Name = '8x8 Work'; Architecture = 'x64'; Type = 'Exe'; Pattern = 'https://[^<]+\.exe' } | ||
@{Name = '8x8 Work'; Architecture = 'x64'; Type = 'MSI'; Pattern = 'https://[^<]+\.msi' } | ||
) | ||
|
||
$Version = $URL | Get-Version -ReplaceWithDot | ||
try { | ||
# Download page https://support-portal.8x8.com/viewArticle.html?d=8bff4970-6fbf-4daf-842d-8ae9b533153d&hl=en references content below | ||
$Content = (Invoke-RestMethod -Uri 'https://support-portal.8x8.com/helpcenter/docrenderservice/services/rest/documents/8bff4970-6fbf-4daf-842d-8ae9b533153d?mandatorKey=MANDATOR_USU&contentLanguage=en&additionalData=references=true&additionalData=referencedDocs=true&additionalData=withGraph=true&additionalData=includeReferencesUpToLevel=all' -DisableKeepAlive).Content | ||
|
||
New-NevergreenApp -Name '8x8 Work' -Version $Version -Uri $URL -Architecture 'x64' -Type 'msi' | ||
foreach ($App in $Apps) { | ||
$Url = ($Content | Select-String -Pattern $App.Pattern).Matches.Value | Select-Object -First 1 | ||
$Version = $Url | Get-Version -ReplaceWithDot | ||
New-NevergreenApp -Name $App.Name -Version $Version -Uri $Url -Architecture $App.Architecture -Type $App.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
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 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,3 +1,3 @@ | ||
$URL = Get-Link -Uri 'https://www.anaconda.com/products/individual' -MatchProperty href -Pattern '\.exe$' | ||
$URL = Get-Link -Uri 'https://www.anaconda.com/download/success' -MatchProperty href -Pattern '\.exe$' | ||
$Version = $URL | Get-Version | ||
New-NevergreenApp -Name 'Anaconda' -Version $Version -Uri $URL -Architecture 'x64' -Type 'exe' | ||
New-NevergreenApp -Name 'Anaconda' -Version $Version -Uri $URL -Architecture 'x64' -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,7 +1,11 @@ | ||
$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/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' | ||
$URL = Get-Link -Uri 'https://help.webex.com/en-us/article/nw5p67g/Webex-App-%7C-Installation-and-automatic-upgrade' -MatchProperty href -Pattern 'Webex\.msi' | ||
$URLEN = Get-Link -Uri 'https://help.webex.com/en-us/article/nw5p67g/Webex-App-%7C-Installation-and-automatic-upgrade' -MatchProperty href -Pattern 'Webex_en\.msi' | ||
$URLBundle = Get-Link -Uri 'https://help.webex.com/en-us/article/nw5p67g/Webex-App-%7C-Installation-and-automatic-upgrade' -MatchProperty href -Pattern 'WebexBundle\.msi' | ||
$URLBundleEN = Get-Link -Uri 'https://help.webex.com/en-us/article/nw5p67g/Webex-App-%7C-Installation-and-automatic-upgrade' -MatchProperty href -Pattern 'WebexBundle_en\.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' | ||
New-NevergreenApp -Name 'Cisco Webex' -Version $Version -Uri $URL -Architecture 'x64' -Type 'Msi' -Language 'Multi' | ||
New-NevergreenApp -Name 'Cisco Webex' -Version $Version -Uri $URLEN -Architecture 'x64' -Type 'Msi' -Language 'en' | ||
New-NevergreenApp -Name 'Cisco Webex Bundle' -Version $Version -Uri $URLBundle -Architecture 'x64' -Type 'Msi' -Language 'Multi' | ||
New-NevergreenApp -Name 'Cisco Webex Bundle' -Version $Version -Uri $URLBundleEN -Architecture 'x64' -Type 'Msi' -Language 'en' |
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,21 @@ | ||
# Get Office Deployment Tool details by using the JSON-Object of the | ||
# Javascript to get the download details. | ||
$DownloadPageUri = 'https://www.microsoft.com/en-us/download/details.aspx?id=49117' | ||
# Pattern to get the JSON-Object by matching the | ||
# script start block + variable declaration to the script end block. | ||
$JSONBlobPattern = '(?<scriptStart><script>[\w.]+__DLCDetails__=).*?(?<JSObject-scriptStart></script>)' | ||
|
||
$Data = Invoke-WebRequest -Uri $DownloadPageUri ` | ||
| Select-Object -Property 'Content' ` | ||
| Select-String -Pattern $JSONBlobPattern ` | ||
| Select-Object -ExpandProperty 'Matches' ` | ||
| ForEach-Object {$_.Groups['JSObject'].Value} ` | ||
| Select-Object -First 1 ` | ||
| ConvertFrom-JSON | ||
|
||
New-NeverGreenApp ` | ||
-Name 'Microsoft Office Deployment Tool' ` | ||
-Uri $Data.dlcDetailsView.downloadFile.url ` | ||
-Version $Data.dlcDetailsView.downloadFile.Version ` | ||
-Architecture 'Multi' ` | ||
-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,4 +1,4 @@ | ||
$Version = Get-Version -Uri 'https://www.microsoft.com/en-us/download/details.aspx?id=58158' -Pattern 'Version:<.+?>((?:\d+\.)+\d+)' #'Version:\s+</div><p>((?:\d+\.)+\d+)' | ||
$URL32 = Get-Link -Uri 'https://www.microsoft.com/en-us/download/confirmation.aspx?id=58158' -MatchProperty href -Pattern '\.msi$' | ||
$Version = Get-Version -Uri 'https://www.microsoft.com/en-us/download/details.aspx?id=105942' -Pattern 'Version:<.+?>((?:\d+\.)+\d+)' #'Version:\s+</div><p>((?:\d+\.)+\d+)' | ||
$URL32 = Get-Link -Uri 'https://www.microsoft.com/en-us/download/confirmation.aspx?id=105942' -MatchProperty href -Pattern '\.msi$' | ||
|
||
New-NevergreenApp -Name 'Microsoft Power BI Report Builder' -Version $Version -Uri $URL32 -Architecture 'x86' -Type 'Msi' | ||
New-NevergreenApp -Name 'Microsoft Power BI Report Builder' -Version $Version -Uri $URL32 -Architecture 'x86' -Type 'Msi' |
8 changes: 8 additions & 0 deletions
8
Nevergreen/Apps/Get-MicrosoftPurviewInformationProtection.ps1
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,8 @@ | ||
$Response = Invoke-WebRequest -Uri 'https://www.microsoft.com/en-us/download/details.aspx?id=53018' -DisableKeepAlive -UseBasicParsing | ||
|
||
$Version = $Response.Content | Get-Version -Pattern '"version":"((?:\d+\.)+\d+)' | ||
$URLMsi = $Response.Content | Get-Version -Pattern '"(https://[^"]*\.msi)' | ||
$URLExe = $Response.Content | Get-Version -Pattern '"(https://[^"]*\.exe)' | ||
|
||
New-NevergreenApp -Name 'Microsoft Purview Information Protection' -Version $Version -Uri $URLMsi -Architecture 'x86' -Type 'MSI' | ||
New-NevergreenApp -Name 'Microsoft Purview Information Protection' -Version $Version -Uri $URLExe -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,11 +1,11 @@ | ||
$Version = Get-Version -Uri 'https://openvpn.net/vpn-server-resources/openvpn-connect-for-windows-change-log/' -Pattern 'Release notes for ((?:\d+\.)+\d+)' | ||
$Version = Get-Version -Uri 'https://openvpn.net/connect-docs/windows-release-notes.html' -Pattern '>((?:\d+\.)+\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 | ||
$URL = Get-Link -Uri 'https://openvpn.net/client/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
37 changes: 35 additions & 2 deletions
37
Nevergreen/Apps/Get-RedstorBackupProStoragePlatformConsole.ps1
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
File renamed without changes.
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