This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set the Start Menu Path | |
$StartMenuFolder = "$env:ProgramData\Microsoft\Windows\Start Menu\Programs" | |
# Define the website to pull the JSON from | |
$URL = Invoke-WebRequest 'https://internal.corp/shortcuts.json' -UseBasicParsing | |
$ShortCuts = $URL | ConvertFrom-Json | |
# Use this instead if you don't want to use a website path | |
#$ShortCuts = Get-Content -Path .\shortcuts.json | ConvertFrom-Json |
OlderNewer