Skip to content

Commit d70439f

Browse files
Update Get-TSxEdgeEnterpriseMSIAndInstall.ps1
1 parent 0e80cbe commit d70439f

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

Tools/Get-TSxEdgeEnterpriseMSIAndInstall/Get-TSxEdgeEnterpriseMSIAndInstall.ps1

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,14 @@
2626
Overwrites the file without asking.
2727
2828
.NOTES
29-
Version: 1.2
30-
Author: Mattias Benninge
31-
Creation Date: 2020-07-01
29+
Version: 1.0
30+
Author: Mikael Nystrom
31+
Creation Date: 2021-12-16
3232
3333
Version history:
34+
(Based on the script from Mattias Benninge named Get-EdgeEnterpriseMSI.ps1)
3435
35-
1.0 - Initial script development
36-
1.1 - Fixes and improvements by @KarlGrindon
37-
- Script now handles multiple files for e.g. MacOS Edge files
38-
- Better error handling and formating
39-
- URI Validation
40-
1.2 - Better compability on servers (force TLS and remove dependency to IE)
41-
42-
43-
https://docs.microsoft.com/en-us/mem/configmgr/apps/deploy-use/deploy-edge
36+
Added the function to "install"
4437
4538
.EXAMPLE
4639
@@ -156,6 +149,9 @@ else {
156149
}
157150
}
158151

152+
if ($Force){
153+
New-Item -Path $Folder -Force -ItemType Directory -ErrorAction Stop
154+
}
159155

160156
if (Test-Path $Folder) {
161157
foreach ($artifacts in $selectedObject.Artifacts) {

0 commit comments

Comments
 (0)