2014年8月26日
摘要: New-Alias -name appcmd -value $env:windir\system32\inetsrv\appcmd.exe这样就可以在当前PS环境下直接使用appcmd了 阅读全文
posted @ 2014-08-26 15:14 momingliu11 阅读(394) 评论(0) 推荐(0) 编辑
摘要: PSBASEthe raw view of the objectPSADAPTEDthe fully adapted view of the objectPSEXTENDEDjustthe extended elements of the objectPSOBJECTa view of the ad... 阅读全文
posted @ 2014-08-26 15:00 momingliu11 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 示例:空值判断方法:$csv[1].b -eq "" #返回true[string]::isnullorempty($csv[1].b) #返回true$b[1].b -eq [String]::Empty #返回true$csv[1].b.length -eq 0 #返回true$csv[1].b... 阅读全文
posted @ 2014-08-26 11:48 momingliu11 阅读(597) 评论(0) 推荐(0) 编辑