上一页 1 2 3 4 5 6 7 ··· 89 下一页
  2024年1月3日
摘要: adfs更换 服务通信证书 1.将pfx证书安装到所有adfs服务器上,位置: 证书\计算机\个人2.右击证书>所有任务>管理私钥>添加,将ADFS部署过程中添加的ADFS服账户赋权,读取权限即可 查看adfs服务,可以看到所用的服务账户3.通过powershell命令设置新证书: dir cert 阅读全文
posted @ 2024-01-03 18:08 momingliu11 阅读(104) 评论(0) 推荐(0) 编辑
  2023年12月18日
摘要: cas登录密码验证成功后,跳转到Exchange owa的时候出现如下报错:https://mail.test19.com/owa/auth/errorfe.aspx?msg=WrongAudienceUriOrBadSigningCert 处理方法:1.登录ex,Get-OrganizationC 阅读全文
posted @ 2023-12-18 16:16 momingliu11 阅读(44) 评论(0) 推荐(0) 编辑
  2023年12月13日
摘要: #/bin/bash #Setup zabbix agent. #configure zabbix_agent.conf. #Check zabbix agent process,and install zabbix agent. zabbix_num=`ps -ef |grep 'zabbix_a 阅读全文
posted @ 2023-12-13 17:14 momingliu11 阅读(90) 评论(0) 推荐(0) 编辑
  2023年10月25日
摘要: 参考:https://social.technet.microsoft.com/Forums/tr-TR/451171bf-574e-4436-992c-dc814c041da1/exchange-2016-getmessagetracklog?forum=exchangeserverzhchs E 阅读全文
posted @ 2023-10-25 20:47 momingliu11 阅读(16) 评论(0) 推荐(0) 编辑
  2023年10月17日
摘要: $Res_Path = "d:\temp\" $Time = Get-Date -UFormat "%Y%m%d%H%M" $ComputerName = $env:computername $IP = ((gwmi win32_networkadapterconfiguration | ? {$_ 阅读全文
posted @ 2023-10-17 17:12 momingliu11 阅读(11) 评论(0) 推荐(0) 编辑
摘要: #子目录按年月日命令,对每个月的子目录进行打包 y='2023' #定义年份 for m in {01..12};do #定义01到12月 ym="$y$m" echo $ym if ls $ym* &> /dev/null;then #检查月份文件夹是否存在 echo "$ym* exists,s 阅读全文
posted @ 2023-10-17 10:57 momingliu11 阅读(5) 评论(0) 推荐(0) 编辑
  2023年10月13日
摘要: $exguid_byetarray = (Get-ADUser yunchi02 -Properties msExchMailboxGuid).msExchMailboxGuid #此时为byteArray格式 new-object System.Guid -ArgumentList @(, $ex 阅读全文
posted @ 2023-10-13 23:23 momingliu11 阅读(14) 评论(0) 推荐(0) 编辑
  2023年10月10日
摘要: $array = New-Object System.Collections.ArrayList($null) $array.add("a") |Out-Null 阅读全文
posted @ 2023-10-10 17:17 momingliu11 阅读(34) 评论(0) 推荐(0) 编辑
  2023年10月9日
摘要: vms_path='/data1/scripts/vms_batch.txt' #vm csv IFS=$'\n' for line in $(awk 'NR>1' $vms_path) #跳过第一行 do echo $line host=`echo $line |awk -F , '{print 阅读全文
posted @ 2023-10-09 17:32 momingliu11 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 安装好Centos虚机系统,进行标准化配置,最后安装cloud-init,如下: yum -y install qemu-guest-agent yum -y install cloud-init systemctl enable cloud-init-local.service systemctl 阅读全文
posted @ 2023-10-09 17:17 momingliu11 阅读(438) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 89 下一页