Update setupScriptInfo.ps1

This commit is contained in:
2023-10-10 14:17:02 +00:00
parent 374a23f8fd
commit 5a0acf8870

View File

@@ -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/"