上一页 1 2 3 4 5 6 7 8 ··· 90 下一页
  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 阅读(93) 评论(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:13 momingliu11 阅读(153) 评论(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 阅读(17) 评论(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 阅读(18) 评论(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:56 momingliu11 阅读(6) 评论(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 阅读(21) 评论(0) 推荐(0) 编辑
  2023年10月10日
摘要: $array = New-Object System.Collections.ArrayList($null) $array.add("a") |Out-Null 阅读全文
posted @ 2023-10-10 17:16 momingliu11 阅读(41) 评论(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:31 momingliu11 阅读(212) 评论(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 阅读(702) 评论(0) 推荐(0) 编辑
  2023年9月28日
摘要: #!/bin/bash #脚本用来将vmware虚机通过ovftool导出到pve宿主机,然后再将其导入pve,可以设置pve虚机名称、OS类型、添加网卡配置mac地址,修改磁盘scsi改为ide,如果虚机之前在vmware中是开机状态,则将其开机 vms_path='/data1/scripts/ 阅读全文
posted @ 2023-09-28 15:09 momingliu11 阅读(115) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 90 下一页