上一页 1 ··· 9 10 11 12 13
摘要: Get-WindowsPackage -Online| select -First 1 |Format-List * 阅读全文
posted @ 2022-03-11 10:11 shenshu 阅读(63) 评论(0) 推荐(0)
摘要: 在使用Windows Powershell ISE 编写脚本的时候可能遇到对象无法智能提示属性的问题,例如下面代码无法智能提示$item.InstallTime $a=Get-WindowsPackage -Online foreach ($item in $a) { if ($item.Insta 阅读全文
posted @ 2022-03-10 21:26 shenshu 阅读(156) 评论(0) 推荐(0)
摘要: 将所有计算机添加到受信任主机列表 set-item wsman:localhost\client\trustedhosts -Force -value * 远程批量读取c:\c.txt $account = "zhangsan" $password = '!@#$%54321' $secpwd = 阅读全文
posted @ 2022-03-09 16:41 shenshu 阅读(209) 评论(0) 推荐(0)
摘要: Function myfun() { $cmd="ipconfig | findstr "+'"'+"IPv4"+'"' $ipaddr = iex $cmd if($ipaddr -isnot [Array]) { $ip=$ipaddr.Split(":")[1] return $ip.Trim 阅读全文
posted @ 2022-03-09 12:37 shenshu 阅读(190) 评论(0) 推荐(0)
摘要: https://www.pstips.net/powershell-online-tutorials https://zhuanlan.zhihu.com/p/76708298 微软ps教程 https://www.bilibili.com/video/BV1sx411p7xt?p=8 下载文件 h 阅读全文
posted @ 2022-03-08 19:35 shenshu 阅读(46) 评论(0) 推荐(0)
摘要: 1.浏览器安装Tampermonkey插件 2.安装bilibili视频下载插件 https://greasyfork.org/zh-CN/scripts/by-site/bilibili.com 3.打开B站,点视频下方的“请求地址”,再点击“下载视频” PS:批量下载功能不能用,只能点一次请求地 阅读全文
posted @ 2022-03-07 20:45 shenshu 阅读(1641) 评论(0) 推荐(0)
摘要: linux dmidecode -s system-product-name Windows systeminfo |findstr /i "System Module" 阅读全文
posted @ 2022-03-04 09:16 shenshu 阅读(192) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13