how can I print out $user["EMail"] from below code snippet
cls
$web =Get-SPWeb http://wer.com/sites/wooly/
$list=$web.Lists["User Information List"]
$user =$list.GetItemById(##)
$user["EMail"].print()?????????????????????
I tried $user["EMail"].print() , I tried $user["EMail"].echo() but no luck. Thanks
write-output,write-hostorwrite-verbosein order to direct the output to the proper channel – Dave Wise Sep 25 '13 at 15:50