摘要: write-hostread-hostclear-hostInvoke-Expressionhttp://technet.microsoft.com/en-us/library/ee176880.aspx 阅读全文
posted @ 2013-05-07 16:56 daishuguang 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1.static methods[full qualified name]::method_name2.none methodsobject.method_namehttp://hi.baidu.com/jackeyrain/item/214d544ed4c04ae81f19bc1fhttp://w... 阅读全文
posted @ 2013-05-07 15:59 daishuguang 阅读(546) 评论(0) 推荐(0) 编辑
摘要: $MyInvocation.MyCommand.Path------->path and file name of the current script.$MyInvocation.MyCommand.Name----->the name of a function to identity the current command.$MyInvocation.MyCommand.Definition-->the complete path of the current script. 阅读全文
posted @ 2013-05-07 15:52 daishuguang 阅读(641) 评论(0) 推荐(0) 编辑
摘要: http://msdn.microsoft.com/en-us/library/ee557362.aspxhttp://msdn.microsoft.com/en-us/library/ms472869.aspxhttp://dotnetguts.blogspot.com/2007/06/difference-between-close-and-dispose.html 阅读全文
posted @ 2013-05-07 14:19 daishuguang 阅读(448) 评论(0) 推荐(0) 编辑
摘要: View Code 1 powershell.exe -command Set-executionpolicy "bypass"2 powershell.exe -command get-executionpolicy3 powershell.exe -command "&{%~dp0Uninstall.ps1}"4 pause1.Write a script2.Allow scripts to run3.Run scripts不可以用%cd%------->bat启动的目录而应该用%~dp0------>bat所在的目录bat文件就 阅读全文
posted @ 2013-05-07 13:25 daishuguang 阅读(1958) 评论(1) 推荐(0) 编辑
摘要: write a scriptallow scripts to runView Code 1 powershell.exe -command Set-ExecutionPolicy "Bypass"run scriptsView Code 1 powershell.exe -command "&{%~dp0install.ps1}"http://technet.microsoft.com/en-us/library/bb613481%28v=vs.85%29.aspxhttp://blog.csdn.net/subkiller/article/de 阅读全文
posted @ 2013-05-07 13:02 daishuguang 阅读(231) 评论(0) 推荐(0) 编辑
摘要: http://msdn.microsoft.com/en-us/library/ff648053.aspx 阅读全文
posted @ 2013-05-07 12:58 daishuguang 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Getting Help: Get-HelpUsing Cmdlets Using Cmdlet ParametersRunning CommandsRunning ScriptsUsing FunctionsUsing Modules and Snap-InsUsing AliasesLearning About Objects: Get-MemberFormatting Command Outputget-help <cmdlet-name> -detailedcmdlet |cmdletget-service|format-listformat-tableget-help c 阅读全文
posted @ 2013-05-07 09:29 daishuguang 阅读(249) 评论(0) 推荐(0) 编辑
摘要: http://www.suning.com/footer设计 阅读全文
posted @ 2013-05-07 00:30 daishuguang 阅读(140) 评论(0) 推荐(0) 编辑
摘要: HTML (the Hypertext Markup Language) and CSS (Cascading Style Sheets) are two of the core technologies for building Web pages. HTML provides the structure of the page, CSS the (visual and aural) layout, for a variety of devices.link:http://www.w3.org/standards/webdesign/htmlcssHTML is the language f 阅读全文
posted @ 2013-05-07 00:05 daishuguang 阅读(165) 评论(0) 推荐(0) 编辑