File tree 2 files changed +53
-0
lines changed
2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ function Get-MicrosoftOutlook {
2
+ <#
3
+ . SYNOPSIS
4
+ Returns the available Microsoft Outlook versions and download URIs.
5
+
6
+ . NOTES
7
+ Author: Aaron Parker
8
+ #>
9
+ [OutputType ([System.Management.Automation.PSObject ])]
10
+ [CmdletBinding (SupportsShouldProcess = $false )]
11
+ param (
12
+ [Parameter (Mandatory = $false , Position = 0 )]
13
+ [ValidateNotNull ()]
14
+ [System.Management.Automation.PSObject ]
15
+ $res = (Get-FunctionResource - AppName (" $ ( $MyInvocation.MyCommand ) " .Split(" -" ))[1 ])
16
+ )
17
+
18
+ foreach ($Url in $res.Get.Download.Uri ) {
19
+ Resolve-MicrosoftFwLink - Uri $Url | `
20
+ ForEach-Object { $_.Language = " Neutral" ; $_ } | `
21
+ Write-Output
22
+ }
23
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "Name" : " Microsoft Outlook" ,
3
+ "Source" : " https://learn.microsoft.com/en-us/microsoft-365-apps/outlook/get-started/deployment-new-outlook" ,
4
+ "Get" : {
5
+ "Update" : {
6
+ "Uri" : " "
7
+ },
8
+ "Download" : {
9
+ "Uri" : [
10
+ " https://go.microsoft.com/fwlink/?linkid=2195164" ,
11
+ " https://go.microsoft.com/fwlink/?linkid=2195278" ,
12
+ " https://go.microsoft.com/fwlink/?linkid=2195438"
13
+ ],
14
+ "MaximumRedirection" : 3 ,
15
+ "DatePattern" : " d/M/yyyy"
16
+ }
17
+ },
18
+ "Install" : {
19
+ "Setup" : " " ,
20
+ "Preinstall" : " " ,
21
+ "Physical" : {
22
+ "Arguments" : " " ,
23
+ "PostInstall" : []
24
+ },
25
+ "Virtual" : {
26
+ "Arguments" : " " ,
27
+ "PostInstall" : []
28
+ }
29
+ }
30
+ }
You can’t perform that action at this time.
0 commit comments