<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>批处理之家 - PowerShell原创&amp;转载</title>
    <link>http://www.bathome.net/forum-57-1.html</link>
    <description>Latest 20 threads of PowerShell原创&amp;转载</description>
    <copyright>Copyright(C) 批处理之家</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sat, 02 May 2026 08:28:38 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://www.bathome.net/static/image/common/logo_88_31.gif</url>
      <title>批处理之家</title>
      <link>http://www.bathome.net/</link>
    </image>
    <item>
      <title>一个内存清理的小工具（有定时功能）</title>
      <link>http://www.bathome.net/thread-95124-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>Nsqs</author>
      <pubDate>Sat, 25 Apr 2026 06:14:30 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell 如何在批处理中更改计算机名称</title>
      <link>http://www.bathome.net/thread-70082-1-1.html</link>
      <description><![CDATA[我对 PowerShell 不熟悉。如题，请教，谢谢！
以下这段命令行没有效果！只返回显示：Rename-Computer -NewName ONDA-H81M，求助修正，谢谢！]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>chishingchan</author>
      <pubDate>Fri, 08 Nov 2024 04:02:56 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell简易菜单程序</title>
      <link>http://www.bathome.net/thread-69313-1-1.html</link>
      <description><![CDATA[我一个初三毕业生闲的没事使用PowerShell写了个简易菜单程序 

功能如下：

主菜单[*]显示当前目录内容[*]切换目录[*]显示当前用户名[*]显示当前日期和时间[*]进行数学运算[*]文件操作[*]游戏菜单

游戏菜单 
1. 猜数字游戏
2. 贪吃蛇

解决闪烁问题
如果贪吃蛇游戏闪烁 ...]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>Xiao_Feng</author>
      <pubDate>Tue, 02 Jul 2024 08:57:36 +0000</pubDate>
    </item>
    <item>
      <title>Windows等保三级基线加固和检测的PowerShell脚本</title>
      <link>http://www.bathome.net/thread-67916-1-1.html</link>
      <description><![CDATA[加固.ps1原文：https://www.52pojie.cn/thread-1789573-1-1.html]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>Batcher</author>
      <pubDate>Fri, 24 Nov 2023 03:42:47 +0000</pubDate>
    </item>
    <item>
      <title>分享一个PowerShell随机出列的类</title>
      <link>http://www.bathome.net/thread-67560-1-1.html</link>
      <description><![CDATA[不过不知为什么换List添加不了成员对象,重载不了此类,但是字典和哈希却可以?]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>Nsqs</author>
      <pubDate>Thu, 12 Oct 2023 00:52:31 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell实现科学文库图书下载</title>
      <link>http://www.bathome.net/thread-67470-1-1.html</link>
      <description><![CDATA[科学文库图书下载,png格式,可自行转换为pdf,去除在线阅读限制
科学文库官网: https://book.sciencereading.cn/shop/main/Login/shopFrame.do
图书链接格式: https://book.sciencereading.cn/shop/book/Booksimple/show.do?id=B970CE8AEE3531D1DE053020B0A0A1666000
侵权 ...]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>went</author>
      <pubDate>Thu, 28 Sep 2023 13:32:19 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell实现txt笔记转图片</title>
      <link>http://www.bathome.net/thread-67462-1-1.html</link>
      <description><![CDATA[编码自动检测,可自由设置字体,颜色
转换当前文件夹下所有txt,转换完成的Png放到png文件夹

txt2png.ps1]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>went</author>
      <pubDate>Wed, 27 Sep 2023 16:08:29 +0000</pubDate>
    </item>
    <item>
      <title>经常有人想统计文件夹大小的,这就来了PowerShell的方法</title>
      <link>http://www.bathome.net/thread-67138-1-1.html</link>
      <description><![CDATA[代码比较多,网上想学PowerShell的资料也比较少,这个帖子不光是分享原创代码,分享出来也可以学习

 代码里有小彩蛋转载请注明出处,请尊重作者的劳动成果,感谢您的支持!]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>Nsqs</author>
      <pubDate>Fri, 25 Aug 2023 01:41:28 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell获取显示器尺寸大小（不是分辨率）</title>
      <link>http://www.bathome.net/thread-62171-1-1.html</link>
      <description><![CDATA[转自：
https://social.technet.microsoft.com/Forums/scriptcenter/en-US/620cacb9-25d8-4610-b30b-378ba4c6218c/get-monitor-size]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>HAT</author>
      <pubDate>Wed, 30 Mar 2022 16:16:36 +0000</pubDate>
    </item>
    <item>
      <title>cmd 混合 powershell</title>
      <link>http://www.bathome.net/thread-58991-1-1.html</link>
      <description><![CDATA[前面是 cmd 部分，###开头的行之后，是powershell 部分。
可以在调用powershell 前后 运行一些操作，而且也不用互相注释的麻烦]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>newswan</author>
      <pubDate>Thu, 24 Jun 2021 02:35:30 +0000</pubDate>
    </item>
    <item>
      <title>powershell 中文数字转阿拉伯数字</title>
      <link>http://www.bathome.net/thread-58902-1-1.html</link>
      <description><![CDATA[中文数字转阿拉伯数字，只支持整数，可以继续添加 小数 负数 大写]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>newswan</author>
      <pubDate>Tue, 15 Jun 2021 04:58:47 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell词典第二版,带发音和收藏功能</title>
      <link>http://www.bathome.net/thread-58832-1-1.html</link>
      <description><![CDATA[保存bat或ps1]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>went</author>
      <pubDate>Mon, 07 Jun 2021 03:30:27 +0000</pubDate>
    </item>
    <item>
      <title>powershell 右键运行菜单</title>
      <link>http://www.bathome.net/thread-58665-1-1.html</link>
      <description><![CDATA[保存为runps1.bat文件
添加或删除ps1文件右键菜单-&gt;按指定powershell版本运行脚本
无视执行策略 - ExecutionPolicy
非右键菜单执行语法: runps1.bat \&quot;ps1脚本路径\&quot; \&quot;powershell指定版本[当前版本留空]\&quot;
无参数运行则视为 添加/删除右键菜单.
调试win7 ps2.0兼容代码使用 ...]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>went</author>
      <pubDate>Thu, 20 May 2021 07:09:56 +0000</pubDate>
    </item>
    <item>
      <title>powershell便携英汉词典</title>
      <link>http://www.bathome.net/thread-58623-1-1.html</link>
      <description><![CDATA[保存为bat或ps1文件]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>went</author>
      <pubDate>Sun, 16 May 2021 05:56:53 +0000</pubDate>
    </item>
    <item>
      <title>Win10 mp4 : 剪輯、取出音樂、設定屬性</title>
      <link>http://www.bathome.net/thread-57323-1-1.html</link>
      <description><![CDATA[把這個ps1 放在 mp4 旁邊
按右鍵 → 用 PowerShell 執行

如果 mp4 不能移動、改名，把 PS 窗口關掉]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>nwm310</author>
      <pubDate>Tue, 15 Dec 2020 13:09:40 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell递归删除某文件夹内小于1KB的文件</title>
      <link>http://www.bathome.net/thread-54616-1-1.html</link>
      <description><![CDATA[如题， 设置文件大小 ：  
  $file_size_deleted = 1024 # del file which is less than 1024 bytes]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>gflrlm</author>
      <pubDate>Sat, 04 Jan 2020 15:12:16 +0000</pubDate>
    </item>
    <item>
      <title>powershell根据内容重命名bt torrent文件</title>
      <link>http://www.bathome.net/thread-54615-1-1.html</link>
      <description><![CDATA[有时候下载torrent种子文件，名字无意义，所以可以用ps脚本处理一下，重命名为正确的名字，代码如下，需要设置种子文件所在文件夹]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>gflrlm</author>
      <pubDate>Sat, 04 Jan 2020 15:09:39 +0000</pubDate>
    </item>
    <item>
      <title>powershell生成Excel表格，自动填充，可以设置颜色</title>
      <link>http://www.bathome.net/thread-54614-1-1.html</link>
      <description><![CDATA[如题， powershell修改Excel，设置颜色，内容， 等。不知道跟vba相比，优缺点如何，有待高人解答。]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>gflrlm</author>
      <pubDate>Sat, 04 Jan 2020 15:03:39 +0000</pubDate>
    </item>
    <item>
      <title>powershell全局变量的使用</title>
      <link>http://www.bathome.net/thread-54613-1-1.html</link>
      <description><![CDATA[当使用 如下代码，调用 function processing_grep  操作每个文件时候，发现 变量 不能按照预期的增加，所以必须要修改为$global::cnt 才可以。]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>gflrlm</author>
      <pubDate>Sat, 04 Jan 2020 15:01:33 +0000</pubDate>
    </item>
    <item>
      <title>在ps1脚本里面导入或者引用其他文件里面的共同function</title>
      <link>http://www.bathome.net/thread-54612-1-1.html</link>
      <description><![CDATA[在写powershell脚本的时候，经常会用到一些常用函数function，如果这些function比较多，就会导致你新写的脚本，比较长，比较杂。 所以可以从别的文件导入这些共同的function。 

假设公共function方在 D:\\common_functions.ps1 里面， 代码如下然后，你在新的ps1脚本里 ...]]></description>
      <category>PowerShell原创&amp;转载</category>
      <author>gflrlm</author>
      <pubDate>Sat, 04 Jan 2020 14:57:27 +0000</pubDate>
    </item>
  </channel>
</rss>