Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Handy Windows Commands ====== ====== Install Edge Browser ====== <code powershell> md -Path $env:temp\edgeinstall -erroraction SilentlyContinue | Out-Null $Download = join-path $env:temp\edgeinstall MicrosoftEdgeEnterpriseX64.msi Invoke-WebRequest 'https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/a2662b5b-97d0-4312-8946-598355851b3b/MicrosoftEdgeEnterpriseX64.msi' -OutFile $Download Start-Process "$Download" # alt: # 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> handy_windows_commands.txt Last modified: 2022/08/10 21:31by mgupton