Get-Computer
Info
Syntax
Get-ComputerInfo
[[-Property] <String[]>]
[<CommonParameters>]
Description
The Get-ComputerInfo cmdlet gets a consolidated object of system and operating system properties.
Examples
Example 1: Get all computer properties
PS C:\> Get-ComputerInfo
This command gets all system and operating system properties from the computer.
Example 2: Get all computer operating system properties
PS C:\> Get-ComputerInfo -Property "os*"
This command gets all operating system properties from the computer.
Optional Parameters
Specifies, as a string array, the computer properties in which this cmdlet displays.
Type: | String[] |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True (ByPropertyName, ByValue) |
Accept wildcard characters: | False |
Inputs
System.String[]
Outputs
Microsoft.PowerShell.Management.ComputerInfo