9 lines
202 B
Text
9 lines
202 B
Text
$notes = "notes.txt"
|
|
if (($args).length -eq 0) {
|
|
if(Test-Path $notes) {
|
|
Get-Content $notes
|
|
}
|
|
} else {
|
|
Get-Date | Add-Content $notes
|
|
"`t" + $args -join " " | Add-Content $notes
|
|
}
|