上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 25 下一页
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=5441&elq=3d32771b868b437aa97567a6a50b5563原文:Mandatory parameters are special because if you do not submit it, PowerShell will automatically ask for ... 阅读全文
posted @ 2010-07-08 14:14 哥本哈士奇(aspnetx) 阅读(380) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=5382&elq=d8bc53b04e51496c9e3ef39e28976a68原文:You should simply copy and paste the following block comment right above your functions and magically Ge... 阅读全文
posted @ 2010-07-07 14:47 哥本哈士奇(aspnetx) 阅读(356) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=5363&elq=654deccd50454fa7ac6cf57ea12b905a原文:Ever wanted to open the current PowerShell folder in an Explorer view? Try this:ii .This will work as lo... 阅读全文
posted @ 2010-07-06 09:30 哥本哈士奇(aspnetx) 阅读(268) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=5287&elq=ffdaeb1db50d44cd98829640038cf0d4原文:If you need to filter running processes by owner, for example to terminate the ones owned by some user, ... 阅读全文
posted @ 2010-07-06 09:24 哥本哈士奇(aspnetx) 阅读(299) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=5231&elq=4427f8ad0f9245da87fb793497c0753a原文:If your script needs to know whether your computer has a battery, you can ask WMI. Here is a small funct... 阅读全文
posted @ 2010-07-02 17:43 哥本哈士奇(aspnetx) 阅读(323) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=5125&elq=52bc48204cc748d58a54ab9a57b6b796原文:Adding parameters to your functions is fairly easy. You can add a param() block and specify the paramete... 阅读全文
posted @ 2010-06-30 18:12 哥本哈士奇(aspnetx) 阅读(347) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=5072&elq=a8251b41fe1a4d6297a0aecd8e466373原文:Did you know that you can compile any .NET source code on the fly and use this to create your own types?... 阅读全文
posted @ 2010-06-29 14:48 哥本哈士奇(aspnetx) 阅读(239) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=4914&elq=a3fdfdb4961d4feabec6e309570c5e33原文:PowerShell is great for parsing log files. Here is a function that extracts all installed Windows update... 阅读全文
posted @ 2010-06-25 13:47 哥本哈士奇(aspnetx) 阅读(424) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=4900&elq=127ab4a62a414c678d62945aef96e118原文:You will discover that Out-Printer can print results to your default printer. You can also print to any ... 阅读全文
posted @ 2010-06-25 11:22 哥本哈士奇(aspnetx) 阅读(280) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=4778&elq=baf9b44a60364f3fbf25d7590e9cb761原文:When you create new Aliases with Set-Alias, PowerShell does not check whether the target you specify is ... 阅读全文
posted @ 2010-06-23 17:38 哥本哈士奇(aspnetx) 阅读(241) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=4695&elq=c3972de70bd84be5866111fbd6571d75原文:When you output results to text files, you will find that the same width restrictions apply that are act... 阅读全文
posted @ 2010-06-22 09:15 哥本哈士奇(aspnetx) 阅读(261) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=4615&elq=4e53a85287814a3b889de5a05e61f869原文:Often, some text will need to be replaced in a text file. That's easy with Get-Content and Set-Content -... 阅读全文
posted @ 2010-06-21 10:25 哥本哈士奇(aspnetx) 阅读(271) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=4571&elq=535d59530c004cd899a9c0ff03da88a4原文:Sort-Object can sort on multiple properties at the same time. Have a look:Get-Service | Sort-Object Stat... 阅读全文
posted @ 2010-06-18 11:29 哥本哈士奇(aspnetx) 阅读(276) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=4513&elq=cc07fc74696e467fa7306ce10ab2a4d0原文:Get-Member is a great cmdlet to discover object members, but it will not show everything:"Hello" | Get-M... 阅读全文
posted @ 2010-06-18 10:18 哥本哈士奇(aspnetx) 阅读(246) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=4479&elq=5c2d3cdc5fc74ac49db66a5047abbcca原文:Sometimes you may want to tag results returned by a cmdlet with some extra information, such as a refere... 阅读全文
posted @ 2010-06-17 15:23 哥本哈士奇(aspnetx) 阅读(270) 评论(0) 推荐(1) 编辑
摘要: 杂想这个词是我自己创造的,字典里没有,百度百科里也没有。所谓杂想,就是把平时很杂的一些感想汇总到一起,从中有所感悟。 阅读全文
posted @ 2010-06-12 13:45 哥本哈士奇(aspnetx) 阅读(1806) 评论(24) 推荐(2) 编辑
摘要:   环境:Windows 7,IIS 7.5,SQLServer 2008 新建站点:开始->右键单击我的电脑 ->点管理->打开IIS新建网站,指定硬盘上的一个目录。 应用程序池默认(也可以指定经典.net)。 指定应用程序池:  拷贝支持文件:拷贝以下文件夹里的所有文件到这个IIS新指定的目录中:C:\Program File... 阅读全文
posted @ 2010-06-12 10:12 哥本哈士奇(aspnetx) 阅读(3106) 评论(10) 推荐(1) 编辑
摘要: 原文地址:http://powershell.com/cs/blogs/tips/archive/2010/06/11/creating-relative-dates.aspx原文:To create relative dates like "10 days ago," there are two paths. Administrators often add or remove time spa... 阅读全文
posted @ 2010-06-12 09:11 哥本哈士奇(aspnetx) 阅读(231) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://powershell.com/cs/blogs/tips/archive/2010/06/10/create-remoting-solutions.aspx原文:Whenever you use WMI (Get-WMIObject) to retrieve information, it's a snap to turn a local solution into a r... 阅读全文
posted @ 2010-06-11 10:15 哥本哈士奇(aspnetx) 阅读(331) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://app.en25.com/e/es.aspx?s=1403&e=4322&elq=b124047d4c07443f894276bf5c6e0626原文:Ever wondered what type of RAM your PC uses and if there is a bank available to add more? Ask WMI! This ... 阅读全文
posted @ 2010-06-10 09:34 哥本哈士奇(aspnetx) 阅读(389) 评论(0) 推荐(1) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 25 下一页