摘要: Backtick allows you to word-wrap PowerShell commands 1. # Backtick ` PowerShell word-wrap Get-Service * |Sort-Object ServiceType ` | Format-Table name, status, ` S... 阅读全文
posted @ 2012-12-30 14:01 HelloWorld.Michael 阅读(274) 评论(0) 推荐(0) 编辑
摘要: $s = "VMS"; $OFS = ""; [string] [char[]] ([int[]] [char[]] $s | foreach{$_+1}) Output: WNT $OFS (Output Field Separator): When PowerShell converts arrays to strings, it takes each array el... 阅读全文
posted @ 2012-12-30 00:38 HelloWorld.Michael 阅读(142) 评论(0) 推荐(0) 编辑