摘要:
1 $p = "D:\PSScript"2 3 gci $p -Exclude "UpdateLog" #排除子目录"UpdateLog",但是后面不能接着使用 -Recurse参数,否则-Exclude参数失效4 gci $p -Exclude "说明.txt" -Recurse #排除文件"说明... 阅读全文
摘要:
#下载PowerShell说明文档1 $link = 'http://download.microsoft.com/download/3/2/6/326DF7A1-EE5B-491B-9130-F9AA9C23C29A/PowerShell%202%200%20Language%20Specific... 阅读全文
摘要:
方法一:1 #禁用滚动条2 $ProgressPreference='silentlycontinue'3 Invoke-WebRequest "www.163.com" -UseBasicParsing参考:http://www.pstips.net/usebasicparsing-in-invo... 阅读全文