handy_windows_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
handy_windows_commands [2022/07/07 20:31] mguptonhandy_windows_commands [2022/08/10 21:31] (current) mgupton
Line 1: Line 1:
 ====== Handy Windows Commands ====== ====== Handy Windows Commands ======
  
-====== Installing Edge Browser ======+====== Install Edge Browser ======
  
 <code powershell> <code powershell>
Line 10: Line 10:
 # alt: # alt:
 # Start-Process "$Download" -ArgumentList "/quiet" # Start-Process "$Download" -ArgumentList "/quiet"
 +</code>
 +
 +====== Install VS Code ======
 +
 +<code powershell>
 +Save-Script install-vscode -path $env:TEMP
 +$env:temp\install-vscode.ps1
 +</code>
 +
 +=== Alt ===
 +<code powershell>
 +Install-Script -Name Install-VSCode
 +</code>
 +
 +====== Install Notepad++ ======
 +<code powershell>
 +$LocalTempDir = $env:TEMP
 +$href = ((Invoke-WebRequest -Uri 'https://notepad-plus-plus.org/downloads/').Links | Where-Object { $_.innerText -match 'current version' }).href
 +$downloadUrl = ((Invoke-WebRequest "https://notepad-plus-plus.org/$href").Links | Where-Object { $_.innerHTML -match 'installer' -and $_.href -match 'x64.exe' }).href
 +Invoke-RestMethod $downloadUrl -OutFile "$LocalTempDir/np++.exe"
 +start-process -FilePath "$LocalTempDir\np++.exe" -ArgumentList '/S' -Verb runas -Wait
 </code> </code>
  
  
  • handy_windows_commands.1657225906.txt.gz
  • Last modified: 2022/07/07 20:31
  • by mgupton