PowerShell常用的轉義符、比較符、邏輯操作符
来源:互联网 发布:app软件大全 编辑:程序博客网 时间:2024/04/30 12:32
轉義符
`b
Backspace,顯示時將前一個字符覆蓋
`f
分頁符,打印時分頁
`t
水平製表符
`v
垂直製表符
`r
回車符
`n
換行符
‘’
一個單引號,在單引號字符中(literal string)
""
一個雙引號,在雙引號字符中(expanding string)
比較符
-lt
Less than
-le
Less than or equal to
-gt
Greater than
-ge
Greater than or equal to
-eq
Equal to
-ne
Not equal to
-like
Like (uses wildcards for matching)
-notlike
Not like (uses wildcards for matching)
-in
$value -in $list
-notin
-contains
$list -contains $value
-notcontains
-match
Reglure Expression Match
-notmatch
邏輯操作符
-and
且
-or
或
-xor
異或
-not
非
!
非
其他操作符(針對字符串)
-replace
替換,支持正則表達式
-split
拆分,支持正則表達式
-join
合併
-f
"Format String" -f Values,與C#String.Format類似
0 0
- PowerShell常用的轉義符、比較符、邏輯操作符
- Powershell 条件操作符
- 常用的Windows PowerShell 命令
- 常用的操作符
- 常用powershell
- PowerShell介绍 第五回 字符串及其操作符
- Powershell一些概念的理解:管道符
- Windows管理员常用的PowerShell命令
- Rxjava常用的操作符
- Python的常用操作符
- PowerShell操作文件的机制探讨
- PowerShell 对Internet Explorer的操作
- powershell对注册表的一般操作
- PowerShell:运算符
- 正则表达式的常用操作符
- python 列表常用的操作符
- Python中列表常用的操作符
- 常用的c语言操作符
- Python实战之子进程
- MySQL应用
- C++之面向程序设计浅析
- 我不是会学会玩
- HDU356 Eight II(康拓展开+预处理)
- PowerShell常用的轉義符、比較符、邏輯操作符
- Python多线程编程
- C++之多态
- mysql存储过程详解
- Linux下SSH远程连接断开后让程序继续运行解决办法
- Python中多线程thread与threading的实现方法
- leetcode_119_Pascal's Triangle II
- java5读写锁技术的妙用(十二)
- Java中泛型小总结