<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>批处理之家 - PowerShell教程&amp;资料</title>
    <link>http://bbs.bathome.net/forum-56-1.html</link>
    <description>Latest 20 threads of PowerShell教程&amp;资料</description>
    <copyright>Copyright(C) 批处理之家</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Fri, 01 May 2026 14:06:33 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://bbs.bathome.net/static/image/common/logo_88_31.gif</url>
      <title>批处理之家</title>
      <link>http://bbs.bathome.net/</link>
    </image>
    <item>
      <title>PowerShell随机函数微软阿三哥的偷工减料</title>
      <link>http://bbs.bathome.net/thread-67305-1-1.html</link>
      <description><![CDATA[不知有没有人早发现这个BUG,应该也算是属于BUG了,毕竟自带的函数属于是写错了代码逻辑同一条代码换到7.3.5版本测试正常输出

但换到比较大众化的版本5.1中这个代码会提示错误,错误如下

发不了截图,直接粘贴错误提示了:

Get-Random : 无法使用指定的命名参数解析参数集 ...]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>Nsqs</author>
      <pubDate>Sat, 09 Sep 2023 14:36:53 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell对于全盘搜文件的一些细节</title>
      <link>http://bbs.bathome.net/thread-67227-1-1.html</link>
      <description><![CDATA[例1:你们可以测试一下,加-File和不加-File 的时间不一样,不加-File反而速度会提升2倍

另一种调用bat的dir测试中速度直接再进一步提升1倍!
例2:先不看例2,只看例1的话,不知道例1加File与不加File到底是个什么逻辑,按写代码的逻辑来说我的想法是加了-File应该只搜文件,而 ...]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>Nsqs</author>
      <pubDate>Mon, 04 Sep 2023 09:48:37 +0000</pubDate>
    </item>
    <item>
      <title>有人研究过PowerShell的描述块语法?</title>
      <link>http://bbs.bathome.net/thread-67224-1-1.html</link>
      <description><![CDATA[反正我是没搞懂,但是能大致理解一点的是,它是用于测试用的,但是无法理解的是具体能够应用在什么领域和什么时候]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>Nsqs</author>
      <pubDate>Mon, 04 Sep 2023 03:05:51 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell 学习笔记（整理）</title>
      <link>http://bbs.bathome.net/thread-63685-1-1.html</link>
      <description><![CDATA[我个人PowerShell学习过程中的零碎笔记，整理一下，PowerShell 初学者可以参考。

查看PowerShell版本：更改脚本执行策略：
默认情况下，PowerShell脚本文件（扩展名为.ps1）被限制执行。以管理员身份运行PowerShell，执行下面命令，取消限制：PowerShell脚本所在路径： ...]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>WHY</author>
      <pubDate>Sat, 03 Sep 2022 13:55:28 +0000</pubDate>
    </item>
    <item>
      <title>powershell基于selenium控制edge浏览器</title>
      <link>http://bbs.bathome.net/thread-62770-1-1.html</link>
      <description><![CDATA[windows版本win10及以上
selenium使用官网最新api,旧版本自行查询

准备工作,下载selenium库文件和edge驱动程序上面两个文件下载链接自动获取 
手动下载edge驱动和selenium库.bat测试文件结构如下基础测试代码
selenium_sample.bat ...]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>went</author>
      <pubDate>Wed, 18 May 2022 12:51:50 +0000</pubDate>
    </item>
    <item>
      <title>KMP 字串搜寻演算法</title>
      <link>http://bbs.bathome.net/thread-56874-1-1.html</link>
      <description><![CDATA[注意事项：
-eq 不区分大小写。如果有需要，请改用 -ceq


在 $Text 里面找 $Key ( 1个字 )


在 $Text 里面找 $Key ( 2个字 or 2个字以上)



把 第一层 for 改成 while]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>nwm310</author>
      <pubDate>Sun, 11 Oct 2020 03:08:10 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell教程 界面编程,GUI,WinForm</title>
      <link>http://bbs.bathome.net/thread-56826-1-1.html</link>
      <description><![CDATA[powershell写GUI界面程序很方便,有WinForm和WPF两种方式
powershell强大的数据处理能力有了C#的WinForm加持,很容易开发出一些简单易用的GUI程序
写个小教程,方便喜欢写GUI程序的朋友使用,也当做个笔记

1.HelloWorld#运行方法1: 代码存为 test.ps1,然后cmd执行 powershe ...]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>went</author>
      <pubDate>Tue, 29 Sep 2020 16:34:50 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell 日文句子以唸法分段、日文漢字轉換假名</title>
      <link>http://bbs.bathome.net/thread-48683-1-1.html</link>
      <description><![CDATA[需要安裝日本語
Win10 → 設定 → 時間與語言 → 地區與語言 → 新增語言 → 日本語


使用前，必須先執行
[Windows.Globalization.JapanesePhoneticAnalyzer, Windows.Globlztion, ContentType=WindowsRuntime]


GetWords 第二參數：以漢字、假名為單位
但仍然可以用  ...]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>nwm310</author>
      <pubDate>Thu, 19 Jul 2018 13:44:54 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell as cmd.exe or Bash</title>
      <link>http://bbs.bathome.net/thread-41449-1-1.html</link>
      <description><![CDATA[转载自李杀网：
作者xahlee 
原文：http://xahlee.info/powershell/commands.html

同时对linux命令和cmd命令的话，我感觉这样的文章很适合入门学习，所以转载。]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>codegay</author>
      <pubDate>Sat, 20 Aug 2016 14:34:56 +0000</pubDate>
    </item>
    <item>
      <title>read-host -AsSecureString 返回结果到文本</title>
      <link>http://bbs.bathome.net/thread-39356-1-1.html</link>
      <description><![CDATA[网上讨论这个的不多，所以发出来以备后面的人查找
read-host -AsSecureString 用于读取密码后返回System.Security.SecureString 类型的对象，其值不能直接write-host]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>ivor</author>
      <pubDate>Fri, 12 Feb 2016 09:48:04 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell 在线教程-外链</title>
      <link>http://bbs.bathome.net/thread-39329-1-1.html</link>
      <description><![CDATA[纯纯的powershell门外汉，不会用，只是知道这是个好东西，既然看到，分享给大家。下面地址
PowerShell 在线教程]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>hlzj88</author>
      <pubDate>Sat, 06 Feb 2016 23:32:57 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell 在线教程-链接</title>
      <link>http://bbs.bathome.net/thread-39328-1-1.html</link>
      <description><![CDATA[纯纯的powershell门外汉，不会用，只是知道这是个好东西，既然看到，分享给大家。下面地址
PowerShell 在线教程]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>hlzj88</author>
      <pubDate>Sat, 06 Feb 2016 23:31:17 +0000</pubDate>
    </item>
    <item>
      <title>【PowerShell 技能连载】 - 2014 年 11 月第 2 弹</title>
      <link>http://bbs.bathome.net/thread-32999-1-1.html</link>
      <description><![CDATA[PowerShell 技能连载 2014-11-10 用 EFS 加解密文件
PowerShell 技能连载 2014-11-11 函数的优先级永远比 cmdlet 高
PowerShell 技能连载 2014-11-12 在 PowerShell ISE 中使用 F1 键
PowerShell 技能连载 2014-11-13 使用 IPv4 来 Ping ...]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>victorwoo</author>
      <pubDate>Thu, 20 Nov 2014 08:29:07 +0000</pubDate>
    </item>
    <item>
      <title>【PowerShell 技能连载】 - 2014 年 10 月第 4 弹</title>
      <link>http://bbs.bathome.net/thread-32997-1-1.html</link>
      <description><![CDATA[【PowerShell 技能连载】 - 2014 年 10 月第 4 弹
PowerShell 技能连载 2014-10-27 创建彩色的 HTML 报告
PowerShell 技能连载 2014-10-28 存取 SQLServer 数据库
PowerShell 技能连载 2014-10-29 读取 PFX 证书
PowerShell 技能连载 2014-10-30 改变 PowerShell 的优先 ...]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>victorwoo</author>
      <pubDate>Thu, 20 Nov 2014 08:28:31 +0000</pubDate>
    </item>
    <item>
      <title>【PowerShell 技能连载】 - 2014 年 10 月第 3 弹</title>
      <link>http://bbs.bathome.net/thread-32656-1-1.html</link>
      <description><![CDATA[【PowerShell 技能连载】 - 2014 年 10 月第 3 弹
在非域环境中使用 PowerShell 远程操作
http://dwz.cn/uVHNL
创建新对象
http://dwz.cn/uVHNO
伪造对象类型
http://dwz.cn/uVHNT
控制可执行文件的执行
http://dwz.cn/uVHNV ...]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>victorwoo</author>
      <pubDate>Mon, 27 Oct 2014 03:05:13 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell 技能连载 - 控制可执行文件的执行</title>
      <link>http://bbs.bathome.net/thread-32655-1-1.html</link>
      <description><![CDATA[原始链接：PowerShell 技能连载 - 控制可执行文件的执行
发表日期：2014-10-23
[hr]
适用于 PowerShell 所有版本

PowerShell 将所有可执行程序（扩展名为 EXE 的文件）视为普通的命令。您甚至可以限制 PowerShell 不能执行任何可执行程序或只能执行白名单内的程序。

 ...]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>victorwoo</author>
      <pubDate>Mon, 27 Oct 2014 03:04:15 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell 技能连载 - 伪造对象类型</title>
      <link>http://bbs.bathome.net/thread-32654-1-1.html</link>
      <description><![CDATA[原始链接：PowerShell 技能连载 - 伪造对象类型
发表日期：2014-10-22
[hr]
适用于 PowerShell 3.0 及以上版本

PowerShell 内部的类型扩展系统的作用是负责将对象转换为文本。它的实现方法是通过查询一个名为“PSTypeName”的属性。您可以为自定义的对象添加这个属性来 ...]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>victorwoo</author>
      <pubDate>Mon, 27 Oct 2014 03:03:59 +0000</pubDate>
    </item>
    <item>
      <title>获取所有支持管道的 Cmdlet</title>
      <link>http://bbs.bathome.net/thread-32653-1-1.html</link>
      <description><![CDATA[原始链接：获取所有支持管道的 Cmdlet
发表日期：2014-10-21
[hr]
用这段代码可以获取所有支持管道的 PowerShell 命令：]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>victorwoo</author>
      <pubDate>Mon, 27 Oct 2014 03:03:31 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell 技能连载 - 创建新对象</title>
      <link>http://bbs.bathome.net/thread-32652-1-1.html</link>
      <description><![CDATA[原始链接：PowerShell 技能连载 - 创建新对象
发表日期：2014-10-21
[hr]
适用于 PowerShell 3.0 或以上版本

这是一个创建自定义对象的简单有效的方法：这将创建一个包含预设属性值的完整功能的 PowerShell 对象：本文国际来源：Creating New Objects ...]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>victorwoo</author>
      <pubDate>Mon, 27 Oct 2014 03:03:01 +0000</pubDate>
    </item>
    <item>
      <title>PowerShell 技能连载 - 在非域环境中使用 PowerShell 远程操作</title>
      <link>http://bbs.bathome.net/thread-32651-1-1.html</link>
      <description><![CDATA[原始链接：PowerShell 技能连载 - 在非域环境中使用 PowerShell 远程操作
发表日期：2014-10-20
[hr]
适用于 PowerShell 3.0 及以上版本

缺省情况下，当您通过 `Enable-PSRemoting` 来启用 PowerShell 远程操作时，只启用了 Kerberos 身份验证。这要求双方主机处于同一 ...]]></description>
      <category>PowerShell教程&amp;资料</category>
      <author>victorwoo</author>
      <pubDate>Mon, 27 Oct 2014 03:02:28 +0000</pubDate>
    </item>
  </channel>
</rss>