上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 90 下一页
  2021年5月26日
摘要: $RemoteServerDC = "dc01" $RemoteUserName = "xx\ssuser" $RemotePassword = 'password' $RemotePassword_sec = ConvertTo-SecureString $RemotePassword -AsPl 阅读全文
posted @ 2021-05-26 10:03 momingliu11 阅读(156) 评论(0) 推荐(0) 编辑
  2021年4月20日
摘要: 证书服务备份: 1.备份CA模板:Certutil -catemplates >c:\cabackup\catemplates.txt 2.记录CA的签名算法和CSP:Certutil -getreg ca\csp\* >c:\cabackup\csp.txt 3.备份CA数据库:Certutil 阅读全文
posted @ 2021-04-20 13:54 momingliu11 阅读(645) 评论(0) 推荐(0) 编辑
  2021年4月2日
摘要: 虚机ESXi启用 CPU虚拟化 嵌套虚机网络不通,配置如下: 1.物理ESXi主机上使用的分布式交换机,vlanid是41,则修改该端口组设置如下: 2.嵌套虚机vswitch、端口组不需设置混杂模式、vlan id保持默认0(无) 阅读全文
posted @ 2021-04-02 13:51 momingliu11 阅读(460) 评论(0) 推荐(0) 编辑
  2021年3月30日
摘要: 1.在DC上新建组策略,运行本地“Remote Desktop Users”组和Administrators登录,并将该策略应用到需要被远程登录的DC上 2.登录到需要被远程登录的DC上,运行如下命令,将需要远程登录的用户组添加到本地"Remote Desktop Users" 组 net loca 阅读全文
posted @ 2021-03-30 17:13 momingliu11 阅读(596) 评论(0) 推荐(0) 编辑
  2021年3月25日
摘要: ::PowerShell执行当前目录下的脚本(无需启用允许脚本运行权限)powershell.exe -executionpolicy bypass -noprofile -noninteractive -file "%~dp0\Xcopy.ps1" PowerShell执行当前目录下的脚本 阅读全文
posted @ 2021-03-25 17:39 momingliu11 阅读(202) 评论(0) 推荐(0) 编辑
  2021年3月17日
摘要: $xml=@"<QueryList> <Query Id="0" Path="Security"> <Select Path="Security">*[EventData[Data[@Name='ProcessName'] and (Data='c:\windows\system32\winlogo 阅读全文
posted @ 2021-03-17 15:09 momingliu11 阅读(316) 评论(0) 推荐(0) 编辑
  2021年3月12日
摘要: NPS证书如果已过期,重新更新证书方法如下: 1.证书管理控制台 – 个人 – 证书 找到证书,然后“使用相同秘钥请求新证书” 2.NPS管理控制台 – 策略 – 网络策略,找到使用中的网络策略,进行更新,方法如下: 先删除如下图所示的 EAP类型,然后重新添加“Microsoft:受保护的EAP( 阅读全文
posted @ 2021-03-12 17:04 momingliu11 阅读(659) 评论(0) 推荐(0) 编辑
  2021年3月9日
摘要: 首先启用netlogon.log: cmd下运行如下命令,开启netlog debug Nltest /DBFlag:2080FFFF 然后打开到以下路径,确认是否有日志生成 %windir%\debug\netlogon.log 若没有,运行以下指令重启Netlogon服务后,再次查看 net s 阅读全文
posted @ 2021-03-09 16:41 momingliu11 阅读(626) 评论(0) 推荐(0) 编辑
  2021年3月4日
摘要: Get-NetIPInterface 通过调整 InterfaceMetric 值调整网卡优先级,值越小优先级越高 Set-NetIPInterface -InterfaceIndex 10 -InterfaceMetric 5 阅读全文
posted @ 2021-03-04 14:49 momingliu11 阅读(724) 评论(0) 推荐(0) 编辑
  2021年2月20日
摘要: #将test OU下所有用户添加到组“品牌中心-读写” $users = Get-ADUser -Filter 'Enabled -eq "true" ' -SearchBase "OU=test,OU=da,DC=xx,DC=com" Add-ADGroupMember -Identity "品牌 阅读全文
posted @ 2021-02-20 14:05 momingliu11 阅读(272) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 90 下一页