$subject ="邮件主题-$((Get-Date).ToString("yyyyMMdd_hhmmss"))" $Database = '数据库名称' $Server = '数据库地址' $UserName = '数据库用户名' $Password = '数据库密码...
用Python创建的邮件服务比较麻烦,后来网上找到可以通过Powershell来连接数据库并导出SQL查询结果为CSV文件,并通过邮箱发送到指定邮箱。$Date = Get-Date (get-date).AddDays(-1) -uformat "%Y%m%d" $yDate = Get-Date (get-date).AddDays(-8) -uformat &quo...
OpenWRT固件中集成了NPS内网穿透功能,于是在一台VPS上安装了最新版本0.26.0的NPS,准备在本地WIN10本地和OpenWRT进行调试,都不能调试成功,分别出现如下错误:OpenWRT下错误: 2020/01/31 13:57:00.809 [I] [npc.go:89] the version of client is 0.25.1, the core version of...