powershell ise windows 10 code example
Example 1: 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."
}
Example 2: alternative to powershell on windows
I would turn to PuTTY.
But other options include Cmder, ConEmu, Cygwin, KiTTY, Hyper, etc