powershell
文章平均质量分 71
alphanoblaker
这个作者很懒,什么都没留下…
展开
-
windows 使用powershell中自带的工具(如wget,WebClient等)下载文件
系统:win10powershell 版本:5.1(在终端用$psversiontable查看)windows的powershell中也有跟linux中同名的wget文件下载工具,只不过powershell中的wget是Invoke-WebRequest命令的别名:# 利用get-alias命令:PS D:\> Get-Alias wget# 输出:CommandType Name Ve.原创 2022-04-12 16:16:01 · 13491 阅读 · 0 评论 -
windows命令行统计行数 powershell cmd
文章目录方法一:方法二:注:第一点第二点附录比如:统计环境变量path总共有多少项方法一:# 在powershell中> $env:path -split ";" | Measure-Object 方法二:# 先在powershell中将要统计的目标存入文件中:> $env:path -split ";" > path.txt# 然后输入cmd切换至windows cmd> cmd# 输入:> find /v "" /c path.txt# 注:f原创 2021-12-11 12:26:27 · 4289 阅读 · 0 评论