I am a beginner to PS and am enjoying the book by Jones & Hicks (am now past Ch. 8), especially the exercises (“LABS”).
I have noted to myself that while there are “twin” cmdlets such as: ConvertTo-CSV / ConvertFrom-CSV,
this “duality” does not exist for: ConvertTo-HTML, ConvertTo-XML – meaning 'To’s exist but there are none for 'From’s.
I think I know why, given the meanings (or nature) of CSV versus HTML and XML files, but that is not the reason for my post.
I still do not fully understand the fundamental difference between:
- ConvertTo-CSV versus Export-CSV,
- Export-EXCEL versus Export-CSV << on this second pair, all I know is one is a cmdlet, the other a function.
the HELP and ABOUT files files don't seem to explain much.
Would be grateful for any tips or pointers or references to existing docs/websites that can explain these differences better.
Thanks in advance!