PowershellExcercises/1 - Basics/display-system-info.ps1
serialexperiments0815 361e384195 Powershell scriping excercise Nr.1
Added:
1. File extension filtered file-counter.
2. System-info display script (OS, CPU, RAM).
3. File listing script.
4. Filtered file renaming script by pattern.
5. Start of to-do-text-file for next commit.
2025-10-14 19:21:00 +02:00

4 lines
No EOL
275 B
PowerShell

# Calling 'Get-ComputerInfo' method to return all computer information.
Get-ComputerInfo |
# Calling 'Select-Object' method to filter results through '-Property' parameters.
Select-Object -Property WindowsProductName, OSDisplayVersion, CsProcessors, OsTotalVisibleMemorySize