From 5a0acf8870b8d34cbb556acca6c15ca518cb0cf5 Mon Sep 17 00:00:00 2001 From: Lightemerald Date: Tue, 10 Oct 2023 14:17:02 +0000 Subject: [PATCH] Update setupScriptInfo.ps1 --- setupScriptInfo.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/setupScriptInfo.ps1 b/setupScriptInfo.ps1 index 4106ce8..15ab736 100644 --- a/setupScriptInfo.ps1 +++ b/setupScriptInfo.ps1 @@ -170,6 +170,7 @@ $shortcut.WorkingDirectory = (Get-Item $targetExePath).DirectoryName $shortcut.Save() # URL shortcut +Disable-WindowsOptionalFeature -online -FeatureName internet-explorer-optional-amd64 $wshShell = New-Object -ComObject "WScript.Shell" $urlShortcut = $wshShell.CreateShortcut((Join-Path $env:PUBLIC "Desktop\Office 365.url")) $urlShortcut.TargetPath = "https://office.com/"