Skip to content

Commit

Permalink
Logs should be divided monthly
Browse files Browse the repository at this point in the history
  • Loading branch information
LeDragoX committed Aug 2, 2023
1 parent 300547c commit b977f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WinDebloatTools.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function Main() {
$CurrentFileName = (Split-Path -Path $PSCommandPath -Leaf).Split('.')[0]
$CurrentFileLastModified = (Get-Item "$(Split-Path -Path $PSCommandPath -Leaf)").LastWriteTimeUtc | Get-Date -Format "yyyy-MM-dd"
(Get-Item "$(Split-Path -Path $PSCommandPath -Leaf)").LastWriteTimeUtc | Get-Date -Format "yyyy-MM-dd"
Start-Logging -File $CurrentFileName
Start-Logging -File "$CurrentFileName-$(Get-Date -Format "yyyy-MM")"
Write-Caption "$CurrentFileName v$CurrentFileLastModified"
Write-Host "Your Current Folder $pwd"
Write-Host "Script Root Folder $PSScriptRoot"
Expand Down

0 comments on commit b977f97

Please sign in to comment.