Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mateja-velickovic/pwsh-systeminfo

📁 Interactive menu for accessing system information in PowerShell.
https://github.com/mateja-velickovic/pwsh-systeminfo

filesystem localuser numbering powershell ram

Last synced: 28 days ago
JSON representation

📁 Interactive menu for accessing system information in PowerShell.

Awesome Lists containing this project

README

        

![PowerShell](https://img.shields.io/badge/PowerShell-%235391FE.svg?style=for-the-badge&logo=powershell&logoColor=white)

pwsh-systemInfo - Example

# Overview
The ```systemInfo.ps1``` script is designed to provide users with a menu offering various actions within a PowerShell environment. Users can choose to display active services, list local users, check the PC's RAM quantity, or exit the program.

# Script Information
- File Name: systemInfo.ps1
- Prerequisites: PowerShell 7.4.0
- Script Version: 1.0
- Author: Velickovic Mateja
- Creation Date: 08.12.2023
- Location: ETML, Sébeillon
- Changes: None

# Usage
To run the script, open a PowerShell terminal and execute the following command:
```.\systemInfo.ps1```

# Menu Options
1. Show Active Services (a):
Displays the names of active services on the system.

2. Show Local Users (b):
Lists the names of local users on the PC.

3. Show RAM Quantity (c):
Displays the total physical memory (RAM) of the PC in GiB.

4. Exit Program (x):
Exits the script.

# Examples

1. To display active services:

Que voulez-vous faire ?

a) Afficher les services actifs

b) Afficher la liste des utilisateurs locaux

c) Afficher la quantité de RAM du PC

x) Fin

PS> a

2. To list local users:

Que voulez-vous faire ?

a) Afficher les services actifs

b) Afficher la liste des utilisateurs locaux

c) Afficher la quantité de RAM du PC

x) Fin

PS> b

3. To display the RAM quantity:

Que voulez-vous faire ?

a) Afficher les services actifs

b) Afficher la liste des utilisateurs locaux

c) Afficher la quantité de RAM du PC

x) Fin

PS> c

4. To exit the program:

Que voulez-vous faire ?

a) Afficher les services actifs

b) Afficher la liste des utilisateurs locaux

c) Afficher la quantité de RAM du PC

x) Fin

PS> x

# Notes
- Ensure PowerShell version 7.4.0 is installed before running the script.
- The script is created by Velickovic Mateja at ETML, Sébeillon, with no reported changes.
- For any questions or issues, contact the script author.