Skip to content

Commit

Permalink
Add MicrosoftOutlook
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronparker committed Jan 8, 2025
1 parent 22c4410 commit 1f587e0
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-MicrosoftOutlook.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
function Get-MicrosoftOutlook {
<#
.SYNOPSIS
Returns the available Microsoft Outlook versions and download URIs.
.NOTES
Author: Aaron Parker
#>
[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])
)

foreach ($Url in $res.Get.Download.Uri) {
Resolve-MicrosoftFwLink -Uri $Url | `
ForEach-Object { $_.Language = "Neutral"; $_ } | `
Write-Output
}
}
30 changes: 30 additions & 0 deletions Evergreen/Manifests/MicrosoftOutlook.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"Name": "Microsoft Outlook",
"Source": "https://learn.microsoft.com/en-us/microsoft-365-apps/outlook/get-started/deployment-new-outlook",
"Get": {
"Update": {
"Uri": ""
},
"Download": {
"Uri": [
"https://go.microsoft.com/fwlink/?linkid=2195164",
"https://go.microsoft.com/fwlink/?linkid=2195278",
"https://go.microsoft.com/fwlink/?linkid=2195438"
],
"MaximumRedirection": 3,
"DatePattern": "d/M/yyyy"
}
},
"Install": {
"Setup": "",
"Preinstall": "",
"Physical": {
"Arguments": "",
"PostInstall": []
},
"Virtual": {
"Arguments": "",
"PostInstall": []
}
}
}

0 comments on commit 1f587e0

Please sign in to comment.