Functions

Generating a Timesheet with PowerShell

Background A user recently asked how they can make a timesheet with PowerShell. They wanted to be able to specify the hours each day and the days that are included. I figured that PowerShell is a PERFECT solution for that request. Quick and Dirty Proof of Concept Looking at the basic code that they were tinkering with, I created this very barebones PoC: $date =Get-Date $date = $date.Date $monday = $date.