PowerShell WMI – Querying System Informations
Hi Guys, Here is a small function I wrote to gather the System basic informations. [ps]Function Get-SystemInfo { <# .SYNOPSIS Query WMI of the system to provide basic system information. .PARAMETER ComputerName The computer name or IP of targeted computer. .NOTES Author: Thomas Prud’homme (Twitter: @prudhommewtf). .LINK https://blog.prudhomme.wtf/powershell-wmi-querying-system-informations #> [CmdletBinding()] Param( [String]$ComputerName = $env:COMPUTERNAME ) […]