A simple PowerShell module for tracking your time and productivity.
- Navigate to a directory in $env:PSModulePath.
- Clone the module 'git clone https://github.com/n8jones/TimeTracker.git'.
- Enable the module in PowerShell by typing 'Import-Module TimeTracker'.
- Add-TimeTracker
- Adds an entry to the current TimeTracker log file
- Write-TimeTrackerReport
- Writes the TimeTracker report to the screen.
- Get-TimeTrackerFile
- Gets the filename of the current TimeTracker file
- Read-TimeTracker
- Reads the TimeTracker entries from the specified file.
- Format-TimeTrackerTimeSpan
- Formats a TimeSpan object to a HH:MM format, but uses the TotalHours instead of the Hours property. This allows for proper printing of timespans over 24 hours.