Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.22 KB

README.md

File metadata and controls

58 lines (38 loc) · 1.22 KB

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)