< Back
Get-ComputerInfo
Post
NAME Get-ComputerInfo
SYNOPSIS
Gets a consolidated object of system and operating system properties.
SYNTAX
Get-ComputerInfo [[-Property] <String[]>] [<CommonParameters>]
DESCRIPTION
The Get-ComputerInfo cmdlet gets a consolidated object of system and operating system properties.
PARAMETERS
-Property <String[]>
Specifies, as a string array, the computer properties in which this cmdlet displays.
Required? false
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String[]
OUTPUTS
Microsoft.PowerShell.Management.ComputerInfo
NOTES
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.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=822226
SYNOPSIS
Gets a consolidated object of system and operating system properties.
SYNTAX
Get-ComputerInfo [[-Property] <String[]>] [<CommonParameters>]
DESCRIPTION
The Get-ComputerInfo cmdlet gets a consolidated object of system and operating system properties.
PARAMETERS
-Property <String[]>
Specifies, as a string array, the computer properties in which this cmdlet displays.
Required? false
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String[]
OUTPUTS
Microsoft.PowerShell.Management.ComputerInfo
NOTES
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.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=822226