# get args
#Param($argv1,$argv2)

Set-StrictMode -version Latest

$p_id = Get-Process | Where-Object {$_.MainWindowTitle -eq "date-monitor"} | Select-Object Id | Out-String -Stream | Select-String -Pattern "[0-9]"

Write-Output "$p_id"

#Start-Process -FilePath ".\nircmd.exe" -ArgumentList "win close process /$p_id"

