上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 90 下一页
  2020年1月8日
摘要: Add-Type -AssemblyName System.Web $PasswordLength = 12 $SpecialCharCount = 0 $Password=[System.Web.Security.Membership]::GeneratePassword($PasswordLength, $SpecialCharCount) 阅读全文
posted @ 2020-01-08 15:19 momingliu11 阅读(186) 评论(0) 推荐(0) 编辑
  2019年12月13日
摘要: #$uname:用户 #$mails:需要绑定或删除的邮箱,如有多个邮箱,中间以,为分隔符,无需添加引号 #######################脚本开始########################### #定义json文件路径 $json_file = "D:\operations\TEMP\qruserlist.json" #读取json文件并转换为PSCustomobj... 阅读全文
posted @ 2019-12-13 10:25 momingliu11 阅读(1529) 评论(0) 推荐(0) 编辑
  2019年12月11日
摘要: import os,json f = 'D:\\temp\\userlist.json' f2 = 'D:\\temp\\userlist2.json' file = open(f,'rb') fj = json.load(file) file.close() fj['liu'].remove('liu.ad3') fj['liu'].append('liu.ad4') # print... 阅读全文
posted @ 2019-12-11 18:16 momingliu11 阅读(3118) 评论(0) 推荐(0) 编辑
  2019年11月15日
摘要: #/usr/bin/evn python # -*- coding: utf-8 -*- import sys from operator import itemgetter # input_file = open(sys.argv[1]) input_file = open("D:\\tmp\\a.csv") output_file = open("D:\\tmp\\asorted.csv"," 阅读全文
posted @ 2019-11-15 17:01 momingliu11 阅读(3692) 评论(0) 推荐(0) 编辑
  2019年11月12日
摘要: 转自:https://www.cnblogs.com/goldenSky/p/11437780.html 常规方法 新添加的电脑 如果是新添加的电脑,会在首次配置的时候输入验证码,这时候,需要快速在键盘上按下验证码,输入后就可正常连接了注意,如果失败的次数过多,那么就会提示输入PIN码 输入PIN码 阅读全文
posted @ 2019-11-12 15:59 momingliu11 阅读(41279) 评论(0) 推荐(1) 编辑
  2019年11月7日
摘要: managerdn即为连接到AD的账号 阅读全文
posted @ 2019-11-07 14:56 momingliu11 阅读(898) 评论(0) 推荐(0) 编辑
摘要: 1.设置jenkins所在服务器环境变量,右键我的电脑→属性→高级系统设置→环境变量,添加JAVA_TOOL_OPTIONS,值-Difile.encoding=utf-8 2.在Jenkins安装目录下找到jenkins.xml文件,找到<arguments> ……</arguments>,在中间 阅读全文
posted @ 2019-11-07 14:53 momingliu11 阅读(2280) 评论(0) 推荐(0) 编辑
  2019年11月4日
摘要: 将其保存为autounattend.xml文件,然后放入到ISO镜像根目录即可 <?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="wi 阅读全文
posted @ 2019-11-04 15:45 momingliu11 阅读(2668) 评论(0) 推荐(0) 编辑
摘要: [Settings]Priority=DefaultProperties=MyCustomProperty [Default]OSInstall=YSkipBDDWelcome=YESSkipCapture=YESSkipProductKey=YESSkipComputerBackup=YESSki 阅读全文
posted @ 2019-11-04 15:26 momingliu11 阅读(4038) 评论(0) 推荐(0) 编辑
  2019年10月9日
摘要: Invoke-Expression (Invoke-WebRequest http://10.16.2.5:81/Configcmd.ps1).content 阅读全文
posted @ 2019-10-09 14:30 momingliu11 阅读(395) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 90 下一页