【PowerShell】PCにインストールされているアプリケーションの情報を取得する

PowerShellでPCにインストールされているアプリケーションの情報を取得する方法。


コンピュータにインストールされているアプリケーションの情報を取得

✏スクリプト

$PC_Name="コンピュータ名";
Get-WmiObject Win32_Product -ComputerName $PC_Name


☝スクリプトの説明

♦1行目:

  $PC_Name="コンピュータ名";
対象のコンピュータ名を指定。


♦2行目:

  Get-WmiObject Win32_Product -ComputerName $PC_Name
指定したコンピュータにインストールされているアプリケーション情報を取得。



コメント

このブログの人気の投稿

参考論文:コードクローン検出において比較する候補の絞り方

【論文】ChatGPT Prompt Patterns for Improving Code Quality, Refactoring, Requirements Elicitation, and Software Design

【論文メモ】A systematic literature review on source code similarity measurement and clone detection: techniques, applications, and challenges