Output Exchange 2010 Power Shell List to Text File
I use the following commands to add domains to my Exchange 2010 Bypassed Sender Domains list. However, when I just type in $list, it takes a while for it to populate in the PS window, I would like to have a command to export this list to a file. Please provide the commands to export contents of the $list to a txt file. I am not very fluent in powershell programming, so I would need the entire command. Thank you.
$list >> <filename>
it will write the contents of that variable to the file specified.