上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 95 下一页
  2014年6月8日
摘要: 启动或显示 Sticky Notes:Win+R--->StikyNot.exe备份Sticky Notes保存位置 :%AppData%\Microsoft\Sticky Notes\打开删除警告:HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre... 阅读全文
posted @ 2014-06-08 00:08 momingliu11 阅读(479) 评论(0) 推荐(0)
  2014年6月6日
摘要: `0 空字符`a 在控制台下显示的时候发出嘟嘟声`b 回格字符,在控制台显示时,前一个字符被覆盖`n 换行`r 回车`t Tab`v 垂直Tab`f 在多数打印机打印时分页\ 字符原样 阅读全文
posted @ 2014-06-06 18:10 momingliu11 阅读(265) 评论(0) 推荐(0)
摘要: 脚本 d:\dot.ps1 内容如下:$hostwrite-host "hh"$m="pp"$a ="cc"通过 . 方式运行脚本 dot.sp1,如下:. d:\dot.ps1之后,脚本 dot.ps1中的变量 $m,$a都可以继续使用 阅读全文
posted @ 2014-06-06 18:02 momingliu11 阅读(276) 评论(0) 推荐(0)
摘要: 通过ADSI新建用户user2: 1 #创建新用户,创建完成后的新用户不隶属于任何组 2 $computerName=$env:computername 3 #定义用户名、密码、描述信息 4 $username="user2" 5 $userpass="password" 6 $userdesc="... 阅读全文
posted @ 2014-06-06 17:51 momingliu11 阅读(945) 评论(0) 推荐(0)
  2014年6月5日
摘要: Physical Disk:单次IO大小Avg.Disk Bytes/ReadAvg.Disk Bytes/WriteIO响应时间Avg.Disk sec/ReadAvg.Disk sec/WriteIOPSDiskReads/secDiskWrites/secDiskTransfers/secIO... 阅读全文
posted @ 2014-06-05 10:39 momingliu11 阅读(12569) 评论(0) 推荐(2)
  2014年6月4日
摘要: dim wshellset wshell=createobject("wscript.shell") wshell.run "cmd /c sc query Spooler |find 'RUNNING' || net start Spooler" ,vbhide 阅读全文
posted @ 2014-06-04 13:21 momingliu11 阅读(525) 评论(0) 推荐(0)
  2014年5月28日
摘要: 1 $throttleLimit = 4 2 $SessionState = [system.management.automation.runspaces.initialsessionstate]::CreateDefault() 3 $Pool = [runspacefactory]::Cre... 阅读全文
posted @ 2014-05-28 09:40 momingliu11 阅读(664) 评论(0) 推荐(0)
  2014年5月27日
摘要: $v = [xml]get-content d:\vmconfig.xml$v.Domain.Computer.Name===========================$v.GetElementsByTagName("CPUCount") #此处区分大小写vmconfig.xml内容:stcm... 阅读全文
posted @ 2014-05-27 21:38 momingliu11 阅读(345) 评论(0) 推荐(0)
  2014年5月26日
摘要: Windows Server Failover Clustering is a high availability platform that is constantly monitoring the network connections and health of the nodes in a ... 阅读全文
posted @ 2014-05-26 21:29 momingliu11 阅读(2982) 评论(0) 推荐(1)
  2014年5月23日
摘要: measure-command -expression {$null = "abc"} 效率高于{"abc" |out-null }foreach {$p in $pp}效率高于 $pp|foreach-object {$_}if(1) {"Do"} 效率高于 If (1 -eq $true) {"... 阅读全文
posted @ 2014-05-23 22:21 momingliu11 阅读(1014) 评论(0) 推荐(0)
上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 95 下一页