WMIでインストールされているソフト一覧を取得
WMIでインストールされているソフト一覧を取得し、結果を返すPowershell.
$tmp = Get-WmiObject Win32_Product | Select-String "Java"
If ([String]::IsNullOrEmpty($tmp)){ Write-Output "Not Found." }
WMIでインストールされているソフト一覧を取得し、結果を返すPowershell.
$tmp = Get-WmiObject Win32_Product | Select-String "Java"
If ([String]::IsNullOrEmpty($tmp)){ Write-Output "Not Found." }