powershell check if software is installed
$software = "Microsoft .NET Core Runtime - 3.1.0 (x64)";
$installed = (Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Where { $_.DisplayName -eq $software }) -ne $null
If(-Not $installed) {
Write-Host "'$software' is NOT installed.";
} else {
Write-Host "'$software' is installed."
}
Also in Shell:
- linux tar zip folder
- how to manage github repository
- how to clone pull all repositories from github
- bash get value after equal sign
- Fatal error in launcher:
- how to check error logs in linux
- update ubuntu
- install phantomjs
- how to use gitignore to ignore a folder
- python spawn shell
- install snap change in progress ubuntu
- bash delete file
- hyper-v powershell add scsi DVD
- how to totally uninstall prettier
- shell get location of function
- git init
- git return from detached head
- git second commit
- ubuntu passwordless sudo
- heroku cli delete app
- crontab only working days
- pytype
- install pyenv
- install axios vue