Get-ContentFilterConfig & formatting
Is there a way to get a list of bypassedsenders in the user@domain.com format with Get-contentfilterconfig? The format I use splits the fields and truncates them. Thank you.(Get-ContentFilterConfig).Bypassedsenders|sort-object
Length Local Domain IsValidAddress ------ ----- ------ -------------- 20 al direct.alaskan.o... True 24 alaskan.adv... leadershipteammembe... True
March 18th, 2010 8:30pm
Does this work?
(Get-ContentFilterConfig).Bypassedsenders|sort-object | Format-List
-- Ed Crowley MVP"There are seldom good technological solutions to
behavioral problems.".
"RTEAL" wrote in message news:3e215699-c7bc-4354-98f0-cc25d55f6385...
Is there a way to get a list of bypassedsenders in the user@domain.com format with
Get-contentfilterconfig? The format I use splits the fields and truncates
them. Thank
you.(Get-ContentFilterConfig).Bypassedsenders|sort-object
Length
Local
Domain
IsValidAddress
------
-----
------
--------------
20
al
direct.alaskan.o...
True
24 alaskan.adv...
leadershipteammembe... True
Ed Crowley MVP
"There are seldom good technological solutions to behavioral problems."
Free Windows Admin Tool Kit Click here and download it now
March 18th, 2010 8:55pm
Not quite. I was hoping for username@domain.com (training@vzw.blackberry.net)Length : 24Local : trainingDomain : vzw.blackberry.netIsValidAddress : TrueThanks,Robert
March 18th, 2010 9:01pm
(Get-ContentFilterConfig).Bypassedsenders|sort-object |% {$_.local} + "@" + $_.domain}
Free Windows Admin Tool Kit Click here and download it now
March 18th, 2010 9:15pm
I removed the extra "}" after local and it works(Get-ContentFilterConfig).Bypassedsenders|sort-object |% {$_.local + "@" + $_.domain}Thank you!
March 18th, 2010 10:07pm
Sorry about that. Sometiimes I don't multi-task very well.
Free Windows Admin Tool Kit Click here and download it now
March 18th, 2010 10:12pm