Skip to content

Instantly share code, notes, and snippets.

@lukejjh
Created August 22, 2021 00:18
Show Gist options
  • Save lukejjh/b5c45e45c2da19f2a418fc9b61d905b2 to your computer and use it in GitHub Desktop.
Save lukejjh/b5c45e45c2da19f2a418fc9b61d905b2 to your computer and use it in GitHub Desktop.
Short PowerShell one-liner to make Outlook run at startup (user logon).
cp(gci([Environment]::GetFolderPath(22)) -r -fi *Outlook*.lnk).FullName ([Environment]::GetFolderPath(7))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment