PowerShell中的数组可以不通过管道,直接使用通配符进行迭代验证。例如检查 […] PowerShell使用通配符验证数组2012年9月11日 在 Powershell / Powershell小技巧 标签 数组 来自 Mooser Lee
史蒂夫上个月发表了一篇非常酷的文章,可以通过PowerShell管理基于标准的D […] PowerShell管理硬件设备2012年9月10日 在 PowerShell团队博客 / 未分类 标签 硬件 / 管理 来自 Mooser Lee
1 在C#中产生随机数的情况比较常见,但是如果从固定的集合中随机产生一个元素,常用的 […] Powershell 产生随机对象2012年9月6日 在 Powershell / Powershell小技巧 标签 随机数 来自 Mooser Lee
在PowerShell中可以通过虚拟驱动器来非常方便的访问函数,别名,注册表,证 […] PowerShell 添加个性化驱动器2012年9月5日 在 Powershell / Powershell小技巧 标签 驱动器 来自 Mooser Lee
在PowerShell中,可以通过Get-Date获取当前日期。日期的类型是.N […] PowerShell 获取相对日期2012年9月5日 在 Powershell / Powershell小技巧 标签 日期 来自 Mooser Lee
调用Powershell的命令或者函数,Powershell会用一种内部机制来处 […] Powershell将结果转换为数组2012年9月4日 在 Powershell / Powershell小技巧 标签 数组 来自 Mooser Lee
哈希表可以非常方便地查找重复元素,可以把没有出现的元素添加到哈希表中,如果元素已 […] Powershell 查找重复的文件2012年9月4日 在 Powershell / Powershell小技巧 标签 文件 来自 Mooser Lee
哈希表虽然方便,但是它不是真正的对象,所以不能对它应用一些格式化的命令和导出命令 […] Powershell将HashTable转换为对象2012年9月3日 在 Powershell / Powershell小技巧 标签 哈希表 来自 Mooser Lee
2 使用Powershell自动设置文件共享,需要用到WMI对象,WIN32_Sha […] Powershell共享文件夹2012年9月1日 在 Powershell / Powershell小技巧 标签 WmiObject 来自 Mooser Lee
4 主要还是用到wmi对象,Win32_Product类,首先根据软件的名称Win3 […] 使用Powershell卸载软件2012年9月1日 在 Powershell小技巧 标签 WmiObject / 安装卸载 / 应用程序 来自 Mooser Lee
2 Powershell单引号 和双引号的区别,Powershell转义字符,Powershell用户交互,提示用户输入普通文本和密码 Powershell 定义文本2012年8月26日 在 Powershell 标签 Powershell教程 / 文本 来自 Mooser Lee
Powershell 提供了一个非常特别的自动化变量,$ExecutionCon […] Powershell 执行上下文2012年8月25日 在 Powershell 标签 Invoke / Powershell教程 来自 Mooser Lee