02 2014 档案
DSC配置
摘要:#配置Remote Desktop Services服务为 自启动,并运行Configuration Myservice{ # A Configuration block can have zero or more Node blocks Node "localhost" { ... 阅读全文
posted @ 2014-02-28 17:04 momingliu11 阅读(917) 评论(0) 推荐(1) 编辑
Windows Server 2008找回密码
摘要:1.通过Windows Server 2008 R2的安装光盘引导计算机启动,映像加载完毕后 ,按 Shift+F10 ,打开命令提示符界面,进入Windows目录所在分区(cd windows\system32),然后运行如下命令:move osk.exe osk.exe.bak copy cmd.exe osk.exe shutdown -r -t 02.重启计算机,进入系统,等待开启启动加载完毕后,点击左下角的 轻松访问 ,在当初的对话框中勾选 不使用键盘键入 ,并点击确定,因为前面的osk.exe文件替换,所以打开的不再是屏幕键盘,而是Command(CMD)命令提示符,然后使用net 阅读全文
posted @ 2014-02-26 20:26 momingliu11 阅读(6644) 评论(0) 推荐(0) 编辑
找回丢失的SQL Server性能计数器
摘要:There was one time when I was delivering a Service using a tool that gathers performance data through the SQL Server Counters on Performance Monitor, I got surprised when I tried to review the data and there were no information. Them I checked the SQL Server counter directly on Performance Monitor a 阅读全文
posted @ 2014-02-25 11:14 momingliu11 阅读(739) 评论(0) 推荐(0) 编辑
查看组所属管理包
摘要:$groupname = test01$mpname = (get-scomgroup -displayname $groupname).getclasses().managementpacknameget-scommanagementpack -name $mpname 阅读全文
posted @ 2014-02-19 14:22 momingliu11 阅读(279) 评论(0) 推荐(0) 编辑
计算文字行数
摘要:#计算文字行数Select-String -Pattern "iis" -Path .\Midversion_serverresult.txt |measure -Line(Select-String -Pattern "iis" -Path .\Midversion_serverresult.txt).count#计算文字个数、行数、Get-Content *.txt | Measure-Object –word –line -character 阅读全文
posted @ 2014-02-18 16:11 momingliu11 阅读(426) 评论(0) 推荐(0) 编辑
导出cluster log
摘要:将所有群集节点的日志导出到 clog 目录下:get-clusterlog -destination c:\clog只导出前10分钟的群集日志:get-cluster -destination c:\log -timespan 10 阅读全文
posted @ 2014-02-08 09:34 momingliu11 阅读(448) 评论(0) 推荐(0) 编辑
更改OS序列号(slmgr)
摘要:slmgr /ipk 489j-abc-def-hij-mnnslmgr /skms 8.8.8.8:1688slmgr /ato 阅读全文
posted @ 2014-02-07 16:49 momingliu11 阅读(264) 评论(0) 推荐(0) 编辑
补丁安装命令(WUSA)
摘要:wusa windows6.1-kb2716513-x64.msu /quiet /norestartmsxml4-kb2758694-enu.exe /quiet /norestart安装.msi文件命令:msiexec 阅读全文
posted @ 2014-02-07 16:48 momingliu11 阅读(1360) 评论(0) 推荐(0) 编辑


点击右上角即可分享
微信分享提示