Update setupScriptInfo.ps1
This commit is contained in:
@@ -170,6 +170,7 @@ $shortcut.WorkingDirectory = (Get-Item $targetExePath).DirectoryName
|
|||||||
$shortcut.Save()
|
$shortcut.Save()
|
||||||
|
|
||||||
# URL shortcut
|
# URL shortcut
|
||||||
|
Disable-WindowsOptionalFeature -online -FeatureName internet-explorer-optional-amd64
|
||||||
$wshShell = New-Object -ComObject "WScript.Shell"
|
$wshShell = New-Object -ComObject "WScript.Shell"
|
||||||
$urlShortcut = $wshShell.CreateShortcut((Join-Path $env:PUBLIC "Desktop\Office 365.url"))
|
$urlShortcut = $wshShell.CreateShortcut((Join-Path $env:PUBLIC "Desktop\Office 365.url"))
|
||||||
$urlShortcut.TargetPath = "https://office.com/"
|
$urlShortcut.TargetPath = "https://office.com/"
|
||||||
|
|||||||
Reference in New Issue
Block a user