PowerShell $folder = "C:\Camerameteo" if (-not (Test-Path $folder)) { New-Item -ItemType Directory -Path $folder } while ($true) { $timestamp = Get-Date -Format "yyyy-MM-dd_HH-mm-ss" $url = "http://192.168.1.151/snapshot.cgi?user=ADMIN&pwd=admin" $output = "$folder\image_$timestamp.jpg" Invoke-WebRequest -Uri $url -OutFile $output Start-Sleep -Seconds 60