This file contains 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
#!/bin/bash | |
code --install-extension CoenraadS.bracket-pair-colorizer-2 | |
code --install-extension DavidAnson.vscode-markdownlint | |
code --install-extension eamodio.gitlens | |
code --install-extension joelday.docthis | |
code --install-extension ms-vscode.powershell | |
code --install-extension PeterJausovec.vscode-docker | |
code --install-extension stkb.rewrap | |
code --install-extension streetsidesoftware.code-spell-checker |
This file contains 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
function Is-Installed( $program ) { | |
$x86 = ((Get-ChildItem "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall") | | |
Where-Object { $_.GetValue( "DisplayName" ) -like "*$program*" } ).Length -gt 0; | |
$x64 = ((Get-ChildItem "HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall") | | |
Where-Object { $_.GetValue( "DisplayName" ) -like "*$program*" } ).Length -gt 0; | |
return $x86 -or $x64; | |
} |