Get-ComputerInfo

Get system and operating system properties. PowerShell 5+

Syntax
      Get-ComputerInfo [[-Property] String[]] [CommonParameters]

Key
   Property String[]
      A string array of the computer properties to be displayed.

   CommonParameters:
       -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable,
       -OutBuffer, -PipelineVariable, -OutVariable.

You can use Get-ComputerRestorePoint to select a restore point, and you can use the sequence number to Restore-Computer.

Examples

Get all computer properties:

PS C:> Get-ComputerInfo

Get all system and operating system properties from the computer:

PS C:> Get-ComputerInfo -Property "os*"

#You can't always get what you want, but if you try sometimes, you might find, you get what you need# ~ The Rolling Stones

Related PowerShell Cmdlets:

Restore-Computer - Restore the computer to a previous state.
Windows CMD: SystemInfo - List system configuration


 
Copyright © SS64.com 1999-2019
Some rights reserved