4 PowerShell格式化通配符,索引编号用来识别把那个值用来替换通配符,正数和负数,可以指定目标值是否左对齐或者右对齐。Powershell可以被数字格式化成许多不同的类型。 设置数值格式2013年6月6日 在 Powershell 标签 字符串 / 数字 / 文本 / 日期 / 格式化 来自 Mooser Lee
绝大多数用户更关心最新的日志。Powershell可以使用Get-Content的-ReadCount和-Tail参数高效的返回文本文件中最新的几行日志。 访问最新的文本日志2013年5月9日 在 Powershell小技巧 标签 Content / Powershell 3.0 / 文本 / 日志 来自 Mooser Lee
6 问题描述: 有如下一段文本文件,开头有许多描述,字符“~”为有用数据的开始标志, […] PowerShell 文本处理实例(一)2013年5月8日 在 Powershell小技巧 标签 ConvertFrom / Csv / Measure / 文本 来自 Mooser Lee
替换一段文本中特定的占位符可以使用.NET中的String类的replace方法。也可以直接使用操作符replace PowerShell 替换文本2013年3月4日 在 Powershell / Powershell小技巧 标签 文本 来自 Mooser Lee
Select-String 可以查找包含关键字的文本行。其实这条命令还有一个参数 […] PowerShell 使用Select-String查找上下文2012年9月23日 在 Powershell / Powershell小技巧 标签 文本 来自 Mooser Lee
2 Powershell单引号 和双引号的区别,Powershell转义字符,Powershell用户交互,提示用户输入普通文本和密码 Powershell 定义文本2012年8月26日 在 Powershell 标签 Powershell教程 / 文本 来自 Mooser Lee
如果你知道循环的确切次数可以使用For循环,For循环属于计数型循环,一旦达到最 […] Powershell For 循环2012年1月25日 在 Powershell 标签 Powershell教程 / 循环 / 文本 来自 Mooser Lee
2 怎样将Powershell的对象结果转换成文本并显示在控制台上。Powershe […] Powershell对象转换成文本2011年12月20日 在 Powershell 标签 Powershell教程 / 对象 / 属性 / 文本 来自 Mooser Lee
当我们把一个命令的执行结果保存到一个变量中,可能会认为变量存放的是纯文本。 但是 […] Powershell命令返回数组2011年12月13日 在 Powershell 标签 Powershell教程 / 对象 / 数组 / 文本 / 管道 来自 Mooser Lee