标签:size 获取 ipv6 it资讯 ado color 抛出异常 cti connect
function test-conn
{
Test-Connection -Count 3 -ComputerName $args
#args充当占位符的作用,这个占位符必须以args命名,否则不能识别,会抛出异常
}
Set-Alias tc Test-Conn
tc localhost
tc localhost
Source Destination IPV4Address IPV6Address
------ ----------- ----------- -----------
5CD60537FF localhost 127.0.0.1 ::1
5CD60537FF localhost 127.0.0.1 ::1
5CD60537FF localhost 127.0.0.1 ::1
请关注如下的微信公众号,获取更多IT资讯:
标签:size 获取 ipv6 it资讯 ado color 抛出异常 cti connect
原文地址:http://blog.51cto.com/543925535/2059439