Get System Info Module

Getting a quick list of system information and software installed on a device and be challenging. As some will know for my work with SCCM that I love that application can but it is cumbersome and sometimes too much large of a tool for the job. That is why we have built the Get System Info Module. Within the module is commands used to gather information about the OS, Hardware and software installed on a local or remote device. Depending on the command being used the command will query the Registry or WMI in order to gather the information then return the information as a PowerShell Object allowing for full manipulation of the data.

Version 3.2.3

How To Install

The module can be downloaded from our PowerShell Gallery Page or directly in the PowerShell Console by running the below command

Install-Module -Name GetSystemInfo


Requirements

When using a command the uses the registry to gather information on a remote computer the WinRM Service must be running on the target computer. If WinRM is not running you can enable it by running

Get-Service WinRM -ComputerName <TargetDevice> | Start-Service

How To Use

Get-SystemInfo 

The first command in the module is Get-SystemInfo, This command show information about the OS and the hardware installed on the system. This command only uses WMI to gather the information.

Example 1

Get-SystemInfo -ComputerName <ComputerName>


Get-SystemSoftware

The second Command is Get-SystemsSoftware this command will gather the software installed on the target system via WMI or Registry depending on the Query Type chosen.

Example 1

Get-SystemSoftware -ComputerName <ComputerName> -QueryType WMI

This will gather the software that was installed and registered with WMI this method doesn't require WinRM but will not always return all software installed on a system


Example 2

Get-SystemSoftware -ComputerName <ComputerName> -QueryType Registry

This will use the registry to gather the installed software on a target system.


Get-InstalledDotNet

This command used the registry to retrieve the versions of .net framework installed on a system. All though the version is displayed this is not always the exact version of .net that is why the release number is also displayed by looking up this number you can get the exact version of .net. 

Example 1


Get-InstalledDotNet -ComputerName <ComputerName>


Notes

More information can be found for each command by running

Get-Help <Command> -Full

Changes

3.2.3

  • Updated the module to work in PowerShell 6.0 core

Comments