-
Recent Posts
Recent Comments
Archives
Categories
Meta
Tag Archives: PowerShell
Subtracting days from a DateTime object in PowerShell
For those unfamiliar with DateTime objects, the problem is exceedingly simple – but the solution is even simpler. Take the following DateTime object: PS C:UsersAbrodie> $dt = get-datePS C:UsersAbrodie> $dt 03 November 2011 17:48:56 If I look at the methods … Continue reading