如果你想知道自己属于哪个用户组的成员,下面的脚本可以列出您属于那些用户组。下面的 […] Powershell 查询用户组2012年6月1日 在 Powershell / Powershell小技巧 标签 用户 来自 Mooser Lee
可以通过查询环境变量查询当前用户名: PS> $env:userdomain b […] Powershell 查询用户名Who Am I2012年6月1日 在 Powershell 标签 Powershell 来自 Mooser Lee
8 在Powershell控制台的许多更改只会在当前会话有效。一旦关闭当前控制台,你 […] Powershell自动执行脚本之profile2012年5月31日 在 Powershell 标签 Powershell教程 / 脚本 来自 Mooser Lee
获取本机的系统盘可以通过环境变量SystemDriver直接获取。 具体如下: […] 获取网络上机器的系统盘符2012年5月22日 在 Powershell 标签 Powershell 来自 Mooser Lee
Powershell获取的是当前.Net版本的安装目录。 PS C:> [Run […] Powershell 获取.NET 安装目录2012年5月21日 在 Powershell / Powershell小技巧 来自 Mooser Lee
3 Powershell中默认创建的数组是非对称的,即锯齿数组。使用下面的方法可以创 […] Powershell 对称数组2012年5月21日 在 Powershell 标签 Powershell教程 / 数组 来自 Mooser Lee
2 通过.net对象System.Speech.Synthesis.SpeechSy […] Powershell 朗读文本2012年5月20日 在 Powershell / Powershell小技巧 来自 Mooser Lee
通过Powershell 获取星期名列表和月份名列表 PS C:> [Enum] […] Powershell获取星期和月份2012年5月20日 在 Powershell / Powershell小技巧 来自 Mooser Lee
我们可以像创建管道函数那样创建管道脚本,具体采用低速顺序模式,还是高速流模式,这 […] Powershell 创建管道脚本2012年5月5日 在 Powershell 标签 Powershell / 管道 / 脚本 来自 Mooser Lee
1 Windows Azure PowerShell Cmdlets 本文链接: h […] Azure PowerShell Cmdlets2012年5月2日 在 Azure / Powershell 标签 Powershell 来自 Mooser Lee
6 如果你愿意,你可以把一个脚本写的非常长,问题是脚本的代码量越大,可读性越差。最好 […] Powershell 增强脚本的可读性2012年4月30日 在 Powershell 标签 Powershell教程 / 脚本 来自 Mooser Lee
10 怎样将一个脚本稍作润色,让它能够根据用户的输入,处理并输出相应的结果,而不是只产 […] Powershell 给脚本传递参数2012年4月30日 在 Powershell 标签 Powershell教程 / 参数 来自 Mooser Lee