Retrieving Information

Retrieving System Information

Get-ComputerInfo

Provides information about the operating system details, hardware information, and more.

PS C:\Users\Administrator> Get-ComputerInfo

WindowsBuildLabEx                                       : 17763.1.amd64fre.rs5_release.180914-1434
WindowsCurrentVersion                                   : 6.3
WindowsEditionId                                        : ServerStandard
WindowsInstallationType                                 : Server
WindowsInstallDateFromRegistry                          : 3/20/2024 4:48:20 AM
WindowsProductId                                        : 00429-00000-00001-AA815
WindowsProductName                                      : Windows Server 2019 Standard
WindowsRegisteredOrganization                           :
WindowsRegisteredOwner                                  : Windows User
WindowsSystemRoot                                       : C:\Windows
WindowsVersion                                          : 1809
BiosCharacteristics                                     :
BiosBIOSVersion                                         : {BOCHS  - 1}
BiosBuildNumber                                         :
BiosCaption                                             : Default System 
BIOSBiosCodeSet                                         :
BiosCurrentLanguage                                     :
BiosDescription                                         : Default System BIOS
...

win32_OperatingSystem Class

Ideal for replicating the target system and conducting tests.

Viewing Installed Updates

The Get-Hotfix command is used to display all updates (hotfixes) installed either via Windows Update or manually by users.

Defender

Provides information about Defender services.

Retrieving Information About Files

Searching for Text in Files

To find any text in all files, you can use the following command:

File Permissions

There is a command to view the Access Control List (ACL). ACL is a list of users or groups with permissions (Read, Write, Delete, etc.) to access a file or folder.

File Hashes

You can use this to get the hash of any file for searching, comparison, etc.

Last updated