Reader Tip: Redirecting shell output to the clipboard
Posted by Bharat Suneja at 1:56 PM
Exchangepedia reader Guamaniac has an interesting tip in the comments on "Exchange 2007 Content Filter: The Whitelist Is Here!":
Get-ContentFilterConfig should give you a list of all the content filter settings on that particular Transport server.I'm used to simply highlighting the output using the mouse (which adds it to the clipboard). You need to enable QuickEdit on the command prompt window to be able to use this cut-and-paste functionality..
And I know this is the simplest of features in PowerShell, but I just love the fact that you can pipe output to the clipboard:
get-contentfilterconfig | clip
and then peruse in your favorite text editor!
Labels: Exchange Shell, Reader Tips