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

Set-StrictMode -version Latest

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

Write-Output "$h_id"

#Start-Process -FilePath ".\nircmd.exe" -ArgumentList "win close handle $h_id"

