I am running the following command:
([xml](new-object net.webclient).DownloadString(
"http://blogs.msdn.com/powershell/rss.aspx"
)).rss.channel.item | format-table title,link
The output for one of the RSS items contains this weird text:
You Don’t Have to Be An Administrator to Run Remote PowerShell Commands
So, the question is:
- Why the mix up in characters? What happened to the apostrophe? Why is the output rendered as
Don’twhen it should just render asDon't? - How would I get the correct character in the PowerShell standard output?