powershell常用
2015-10-21 07:51
471 查看
对于powershell,比较强大的shell,可以直接调用.net进行下载等等
get-command|where-object{$_.name -like 'write*'}
get-wmiobject
getitem
environment
$a=""
$a|get-member -membertype property
使用.net 进行端口测试
$b=new-object net.sockets.tcpclient
$b.connect($host,$port)
等待连接成功与否
进行文件下载
webclient
downloadfile
get-command|where-object{$_.name -like 'write*'}
get-wmiobject
getitem
environment
$a=""
$a|get-member -membertype property
使用.net 进行端口测试
$b=new-object net.sockets.tcpclient
$b.connect($host,$port)
等待连接成功与否
进行文件下载
webclient
downloadfile
相关文章推荐
- shell awk 检查程序是否执行
- shell脚本之——dirname
- 通过Xshell上传下载文件
- shell 学习笔记 (二)
- awk使用shell中的变量
- Spark shell脚本
- Linux学习笔记---shell脚本基础
- linux及shell常用命令及遇到的问题集合
- -bash: /bin/tar: Argument list too long
- Linux下profile environment bashrc的区别
- shell编程-创建函数
- 使用Remote PowerShell远程管理Lync
- No such file or directory; did you install phantomjs? php shell_exec报错的解决
- shell命令之(二)rsync的艺术
- bash之条件测试if/else
- bash脚本编写基础
- Sed替换行和字符shell
- python执行linux的shell命令
- 《Linux Shell》笔记之dos2unix
- linux shell 脚本中创建对话框 (whiptail 工具)