Skip to content

Gets valuable information on a linux system using PowerShell

License

Notifications You must be signed in to change notification settings

ehmiiz/linuxinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linuxinfo

Get useful linux system information using PowerShell.

Install from PowerShellGallery

Install-Module linuxinfo -Verbose

Install locally using the build script.

./build.ps1

To reinstall the module (if you've done local edits)

./build.ps1 -Force

Completed functions:

  • Get-FileSystemHelp (help data on /, json format with navigation)
  • Get-BatteryInfo (upower parser)
  • Get-SystemUptime (uptime parser) (Get-Uptime exists in Linux, so this function is a bit redundant but was fun to write.)
  • Get-ComputerInfo
  • Get-OSInfo (Gets install date, os version, cat /etc/os-release)
  • Get-DisplayInfo (lspci parser)
  • Get-NetworkInfo (gets network adapter info)
  • Get-USBInfo (gets usb devices)

Planned functions:

  • Get-UserInfo (gets local users and sudo users)

Planned features:

  • PSSession remoting
  • Get-DisplayInfo to support more advanced display options
  • Updatable and online help

Contributions

Feel free to open issues, PRs or anything else to contribute to the module.

Testing

The module is tested on the following linux dists:

  • Fedora (RHEL based)
  • Ubuntu (Debian based)

About

Gets valuable information on a linux system using PowerShell

Resources

License

Stars

Watchers

Forks