Skip to content

Instantly share code, notes, and snippets.

View wvargas-ods's full-sized avatar

William Vargas wvargas-ods

View GitHub Profile
### Start apps on Windows
## Steps:
# 1. Open the Apps folder pressing <WIN> + <R> and type "shell:AppsFolder"
# 2. Create a shortcut for each app that you want to open using the script.
# * To create a shortcut, right-click on the app and click "Create shortcut".
# * I recommend creating a new folder to save all the shortcuts in one place.
# * It doesn't matter the names of the shortcuts, in my case, the shortcut of Visual Studio Code is "BestIDE".
# 3. Download/copy this script in your shortcuts folder.
# * It'll be easier to manage the paths if you have everything in one place.
###
# Powershell can't SFTP by itself, so it's necessary to install a client on Windows to use it as a bridge.
# In my case, I decided to install WinSCP (I think it's a good option):
# * https://stackoverflow.com/questions/38732025/upload-file-to-sftp-using-powershell/38735275#38735275
# * https://winscp.net/eng/download.php
# Here are some links about how Get-ChildItem works so you can get and filter the files that you need:
# * https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-childitem?view=powershell-7.1
# * https://www.pdq.com/blog/using-get-childitem-find-files/
###