When you select formatted text to the clipboard then use the PSCX cmdlet get-clipboard, there's a lot of HTML formatting. How do you strip that out? I thought the -text switch might cause get-clipboard to get the clipboard contents as text, but apparently that's not what the switch is for.
I could write my own code to strip out the HTML formatting, but I have the feeling such brute force isn't necessary. Is there an easier way?
Thanks.
John