摘要:
设置AD用户属性proxyaddresses的值$test01 = [adsi]"LDAP://cn=test01,ou=oo,ou=admins,dc=ddv,dc=com"$test01.proxyaddresses="t2@ddv.com"$test01.setinfo() 阅读全文
摘要:
$a=get-date$b="restart""On {0} ,ERP has {1}" -f $a,$b结果:On 2014/12/19 16:33:51 ,ERP has restart"{0} + {1} = {2}" -f $a,$b,($a+$b)结果:3 + 4 = 7 阅读全文
摘要:
#声明数组变量类型[int[]]$array = 1..5#判断是否为数组$array -is [array] 阅读全文