Hi,
Windows doesn't have the same kind of shells as linux, so right now, your best choise is to write powershell and execute it from ansible using the raw or script modules. Powershell is a little different from bash or ksh. The main big difference is that you pipe objects not text.
Here's a intro for someone coming from a linux background
https://developer.rackspace.com/blog/powershell-101-from-a-linux-guy/I like to use ad-hoc ansible to work out commands.
ansible win10 -m raw -a "gci c:\\"
There are lot of aliases for command names that roughly approximate to linux equivalents, but because you are dealing with objects, the (default) output formats are very different from what you are used to. There's a bunch of built in formatting commands which can help and you can pick out just the attributes from objects that you are interested in.
ansible 10t -m raw -a "gci c:\\|format-list"
ansible win10 -m raw -a "gci c:\\|convertto-csv"
ansible 10t -m raw -a "gci c:\\|select Name, CreationTime |convertto-json"
Hope this gives you an idea of what is possible.
Jon