上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 95 下一页
  2017年11月20日
摘要: $cc = import-csv D:\Powershell\Tauba.csv foreach ($c in $cc) { $c.username $pwd = $c.password get-aduser $c.username | Set-ADAccountPassword -Reset -NewPassword (ConvertTo-SecureString -AsPlainText... 阅读全文
posted @ 2017-11-20 10:52 momingliu11 阅读(1933) 评论(0) 推荐(0)
  2017年9月5日
摘要: 浏览器报错的证书链的问题,我们一般会有三种证书: RootCA.crt(rCA,被信任的根证书)、IntermediateCA.crt(mCA,某些厂商有多个中间证书)、server.crt(sCA,通过CSR签下来的证书),某些厂商的rCA和mCA是需要用户自己下载的。为了让浏览器能够信任我们的证 阅读全文
posted @ 2017-09-05 16:28 momingliu11 阅读(8068) 评论(0) 推荐(0)
  2017年3月2日
摘要: Windows 2012桌面显示“我的电脑” rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0 阅读全文
posted @ 2017-03-02 15:31 momingliu11 阅读(346) 评论(0) 推荐(0)
  2017年2月21日
摘要: #定义邮件服务器 $smtpServer = "mail.xx.com" $smtpUser = "sender" $smtpPassword = "password" $mail = New-Object System.Net.Mail.MailMessage #定义发件人邮箱地址、收件人邮箱地址 阅读全文
posted @ 2017-02-21 17:43 momingliu11 阅读(2856) 评论(1) 推荐(0)
  2017年1月22日
摘要: #从邮件组发送列表中删除已离职人员 Add-PSSnapin microsoft.exchange* Import-Module activedirectory $RemoveGroupSenderslog = "D:\Scripts\Remove.log" #从通讯组发送列表中删除已离职人员 $txzs = Get-DistributionGroup foreach ($g in $t... 阅读全文
posted @ 2017-01-22 15:03 momingliu11 阅读(627) 评论(0) 推荐(0)
  2016年11月18日
摘要: get-mailbox $u.SamAccountName|select HiddenFromAddressListsEnabled set-mailbox $u.SamAccountName -HiddenFromAddressListsEnabled $true 阅读全文
posted @ 2016-11-18 13:37 momingliu11 阅读(522) 评论(0) 推荐(0)
  2016年11月5日
摘要: 设置URL超时: 调用新浪IP查询接口: Python3: 阅读全文
posted @ 2016-11-05 11:53 momingliu11 阅读(1056) 评论(0) 推荐(0)
  2016年10月28日
摘要: 1.zabbix_agentd.win文件修改: 2.新建item(active): eventlog[Application,,,"MSExchangeTransport",^15004$,,skip] 应用程序日志,来源为MSExchangeTransport,事件ID为15004 3.新建tr 阅读全文
posted @ 2016-10-28 16:59 momingliu11 阅读(7370) 评论(1) 推荐(0)
  2016年10月19日
摘要: #加载Exchange管理模块 Add-PSSnapin Microsoft.Exchange.Management.PowerShell.snapin get-queue #查看队列 get-message #查看队列中每封邮件的具体信息 阅读全文
posted @ 2016-10-19 17:23 momingliu11 阅读(5241) 评论(0) 推荐(0)
  2016年10月11日
摘要: views: StreamingHttpResponse对象用于将文件流发送给浏览器,与HttpResponse对象非常相似,对于文件下载功能,使用StreamingHttpResponse对象更合理。通过文件流传输到浏览器,但文件流通常会以乱码形式显示到浏览器中,而非下载到硬盘上,因此,还要在做点 阅读全文
posted @ 2016-10-11 10:50 momingliu11 阅读(5997) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 95 下一页