Get-Invent
1.3.0
dotnet add package Get-Invent --version 1.3.0
NuGet\Install-Package Get-Invent -Version 1.3.0
<PackageReference Include="Get-Invent" Version="1.3.0" />
paket add Get-Invent --version 1.3.0
#r "nuget: Get-Invent, 1.3.0"
// Install Get-Invent as a Cake Addin #addin nuget:?package=Get-Invent&version=1.3.0 // Install Get-Invent as a Cake Tool #tool nuget:?package=Get-Invent&version=1.3.0
Get-Invent
💡 Added PowerShell Core support (only for NuGet)
Module for remote and local viewing of physical hardware characteristics: OS, Mother Board, CPU, RAM, Physical Disk, Logical Disk, Video Card, Network Adapter.
Get-Help Get-Invent
Get-Module Get-Invent | fl Description
Get-Invent localhost
default local
Get-Invent -srv server-01
remote
Get-Invent -Full server-01
full report (version 1.1)
Get-Invent -Full -SQL server-01
output to database SQLite (version 1.2)
Out to database SQLite
💡 Dependencies: Module MySQLite
When creating a database, the database is checked if it exists in the specified path (by default, the desktop of the current user and a file named Get-Invent.db), if it does not exist, a new database is created. If it is absent, a new database is created, the tables for CPU (basic report), Memory, PhysicalDisk and VideoCard are checked and created according to the same principle, and filled with corresponding values from the full report (-Full). When filling the database with information from other hosts, it is necessary to manually specify the path to it (key -Path), in each table the first value Host is assigned to the computer name, by which you can easily identify the host name when filtering by the required model.
To opras several hosts at once, and fill the database, use the following construction:
Create a sheet that can be used in the future:
$HostsList = "$home\desktop\Host-List.txt"
@("server-01","server-02","server-03") | Out-File $HostsList
Read the list of servers and add it to the loop:
$Hosts = Get-Content $HostsList
foreach ($srv in $hosts) {
Get-Invent -srv $srv -Full -SQL
}
Database example: Get-Invent.db
Example
Get-Invent -Full
Host : HUAWEI-BOOK
Owner : lifailon
OS : Майкрософт Windows 10 Pro
MotherBoard : HUAWEI MRGF-XX-PCB M1010
CPU : 12th Gen Intel(R) Core(TM) i7-1260P
Core : 12
Thread : 16
MemoryAll : 16384 Mb
MemorySlots : 8
PhysicalDiskCount : 1
LogicalDiskCount : 3
LogicalDiskAllSize : 1053 Gb
VideoCardCount : 3
VideoCardAllSize : 1 Gb
NetworkAdapterCount : 12
MemoryModel : 5200 Mhz
Memory : 2048 Mb
MemoryModel : 5200 Mhz
Memory : 2048 Mb
MemoryModel : 5200 Mhz
Memory : 2048 Mb
MemoryModel : 5200 Mhz
Memory : 2048 Mb
MemoryModel : 5200 Mhz
Memory : 2048 Mb
MemoryModel : 5200 Mhz
Memory : 2048 Mb
MemoryModel : 5200 Mhz
Memory : 2048 Mb
MemoryModel : 5200 Mhz
Memory : 2048 Mb
PhysicalDiskModel : WD PC SN740 SDDPNQD-1T00-1027
Size : 954 Gb
LogicalDisk : C:
AllSize : 153 Gb
FreeSize : 50 Gb
Free : 32 %
LogicalDisk : D:
AllSize : 800 Gb
FreeSize : 415 Gb
Free : 52 %
LogicalDisk : G:
AllSize : 100 Gb
FreeSize : 47 Gb
Free : 47 %
VideoCard : Intel(R) Iris(R) Xe Graphics
Display : 3120x2080
vRAM : 1 Gb
VideoCard : Virtual Display Device
Display : 3840x2560
vRAM : 0 Gb
VideoCard : Citrix Indirect Display Adapter
Display : x
vRAM : 0 Gb
Manufacturer : Microsoft
NetworkAdapter : WAN Miniport (IP)
Macaddress : CA:02:20:52:41:53
Manufacturer : Microsoft
NetworkAdapter : WAN Miniport (IPv6)
Macaddress : D0:3F:20:52:41:53
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.