PowerShell7/demos/SystemD/readme.md
Kristopher Bash 60c30190c8 Add DSC demo. Bugfix Apache and SystemD demo. (#1814)
* Add DSC demo. Bugfix Apache and SystemD demo.

* DSC, Apache, SystemD demos, address comments

* Fix capitalization in apache-demo.ps1
2016-08-17 12:07:12 -07:00

617 B

SystemD: journalctl demo

This demo shows use of a PowerShell script module to wrap a native tool (journalctl) so that the output is structured for filtering and presentation control. journalctl is expressed as a cmdlet: Get-SystemDJournal, and the JSON output of journalctl is converted to a PowerShell object.

Prerequisites

  • Requires a SystemD-based operating system (Red Hat or CentOS 7, Ubuntu 16.04)
  • Install PowerShell

Note: Accessing the SystemD journal requires privileges. The user must have authorization to elevate with sudo. You will be prompted for a sudo password when running the demo.