Share this post:This blog post is part of an ongoing series by Adam Gordon. Adam will show you how to use each PowerShell command each week. Adam will be covering Get-ComputerInfo this week.
When should I use Get-ComputerInfo
The Get-ComputerInfo cmdlet provides a consolidated object of system, operating system properties.
This cmdlet was introduced with Windows PowerShell 5.1.
What version of PowerShell should I use for this blog?
Get the PowerShell Version for your machine
$PSVersionTable
This command displays the PowerShell version information for your machine.
How to use Get ComputerInfo?
All computer properties available:
Get-ComputerInfo
Get-ComputerInfo retrieves all operating system and system properties from your computer.
All properties of the computer operating system are available:
Get-ComputerInfo -Property “os*”
This command removes all operating system properties from your computer.
Learn the command for last week: Get-Content.
Do you need PowerShell training? ITProTV offers PowerShell online IT training courses.