脚本类
文章平均质量分 62
realduke2000
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
如何写BAT
<br />bat批处理命令 <br />一.简单批处理内部命令简介 <br />1.Echo 命令 <br />打开回显或关闭请求回显功能,或显示消息。如果没有任何参数,echo 命令将显示当前回显设置。 <br /> 语法 <br />echo [{on│off}] [message] <br />Sample:@echo off / echo hello world <br />在实际应用中我们会把这条命令和重定向符号(也原创 2010-06-01 13:46:00 · 2437 阅读 · 0 评论 -
The easy way to run Powershell 2.0 using .NET Framework 4.0
http://viziblr.com/news/2012/5/16/the-easy-way-to-run-powershell-20-using-net-framework-40.htmlIf you've been exploring creating your own modules and cmdlets with Visual Studio, you've likel转载 2013-02-28 14:44:41 · 777 阅读 · 0 评论 -
Start Powershell scripting
Powershell cookbook for free.http://www.pavleck.net/powershell-cookbook原创 2012-01-17 16:28:40 · 550 阅读 · 0 评论 -
get-parameter.ps1
http://halr9000.com/article/507param ( $Cmdlet, [switch]$ShowCommon, [switch]$Full)$command = Get-Command $Cmdlet -ea silentlycontinue # resolve aliases (an alias can point to another转载 2011-10-31 10:36:29 · 586 阅读 · 0 评论 -
Javascript Getter/Setter and prototype(extend dom)
I learn it while I'm investigating a bug of exchange2010 owa.Now, IE9 doesn't support __defineGetter__ or __defineSetter__ , so owa need to be updated using defineProperty instead.Seemed how to ex原创 2011-10-20 17:27:24 · 1527 阅读 · 0 评论 -
Python lib demo
Just found a excellent website for python lib demo(example)http://www.doughellmann.com/PyMOTW/contents.html原创 2011-08-01 17:44:24 · 525 阅读 · 0 评论 -
Powershell regular expression.
http://powershell.com/cs/blogs/ebook/archive/2009/03/30/chapter-13-text-and-regular-expressions.aspx原创 2011-05-07 15:17:00 · 2690 阅读 · 0 评论 -
Misleading error message in PowerShell script: "Invalid assignment expression. The left hand side of an assignment operator need
<br />I recently ran into the following error message while modifying a PowerShell script:<br /><br />Invalid assignment expression. The left hand side of an assignment operator needs to be something that can be assigned to like a variable or a property<br原创 2011-05-23 10:29:00 · 1787 阅读 · 0 评论 -
非常好的图片创意
日本地震灾区前后对比原创 2011-03-14 12:33:00 · 7373 阅读 · 0 评论 -
how to get remote fqdn by powershell?
<br /><br />[PS] D:/repro>$ipProperties = [System.Net.NetworkInformation.IPGlobalProperties]::GetIPGlobalProperties()<br />[PS] D:/repro>$ipProperties | fl<br /> <br /> <br />HostName : EXCH-A-292<br />DomainName : APIWFN-dom.extest.microsoft.com<b原创 2011-03-15 11:19:00 · 645 阅读 · 0 评论 -
tracert,查看路由表
C:/Documents and Settings/Administrator>tracertUsage: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] target_nameOptions: -d Do not resolve addresses to hostnames. -h maximum_hops Maximum number of hops to search for tar原创 2010-11-16 22:01:00 · 1565 阅读 · 0 评论 -
How to add local administrator via cmd
<br />I met a problem while adding domain user to local administrator group, the UI hung there and without any response.<br />Here I log the way to add user to local administrator group.<br /> <br />CMD sample:<br />net localgroup Administrators /add <user原创 2010-12-08 12:14:00 · 772 阅读 · 0 评论 -
How to redirect via http request domain name
I want to redirect guest to user1's blog while he/she access www.user1.com, and redirect guest to user2's blog while he/she accesswww.user2.com$domain = strtolower($_SERVER["HTTP_HOST"]);$USER1_原创 2013-03-01 17:38:59 · 679 阅读 · 0 评论
分享